[jira] [Updated] (OAK-8717) Remove deprecated Guava-based APIs
[ https://issues.apache.org/jira/browse/OAK-8717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-8717: Fix Version/s: 1.22.0 > Remove deprecated Guava-based APIs > -- > > Key: OAK-8717 > URL: https://issues.apache.org/jira/browse/OAK-8717 > Project: Jackrabbit Oak > Issue Type: Technical task >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Major > Fix For: 1.22.0 > > Attachments: OAK-8717.diff > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OAK-7182) Make it possible to update Guava
[ https://issues.apache.org/jira/browse/OAK-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7182: Fix Version/s: (was: 1.22.0) > Make it possible to update Guava > > > Key: OAK-7182 > URL: https://issues.apache.org/jira/browse/OAK-7182 > Project: Jackrabbit Oak > Issue Type: Wish >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Attachments: GuavaTests.java, OAK-7182-guava-21-3.diff, > OAK-7182-guava-21-4.diff, OAK-7182-guava-21.diff, OAK-7182-guava-23.6.1.diff, > guava.diff > > > We currently rely on Guava 15, and this affects all users of Oak because they > essentially need to use the same version. > This is an overall issue to investigate what would need to be done in Oak in > order to make updates possible. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OAK-7182) Make it possible to update Guava
[ https://issues.apache.org/jira/browse/OAK-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-7182: Fix Version/s: 1.22.0 > Make it possible to update Guava > > > Key: OAK-7182 > URL: https://issues.apache.org/jira/browse/OAK-7182 > Project: Jackrabbit Oak > Issue Type: Wish >Reporter: Julian Reschke >Assignee: Julian Reschke >Priority: Minor > Fix For: 1.22.0 > > Attachments: GuavaTests.java, OAK-7182-guava-21-3.diff, > OAK-7182-guava-21-4.diff, OAK-7182-guava-21.diff, OAK-7182-guava-23.6.1.diff, > guava.diff > > > We currently rely on Guava 15, and this affects all users of Oak because they > essentially need to use the same version. > This is an overall issue to investigate what would need to be done in Oak in > order to make updates possible. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OAK-8770) Can't get fectresult
[ https://issues.apache.org/jira/browse/OAK-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhouxu updated OAK-8770: Description: Hello expert! I cannot get FectResult with solr,my code as follow,I debug the "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get the returned fect result from solr response(queryResponse.getFacetFields()).This question has puzzled me for many days。 can anyone tell me:How the solr fect data enters into the fectresult? 1.get fectresult code: String sql = "select [jcr:path] ,[jcr:primaryType] , [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double from da_document where contains([jcr:primaryType],'da_document') order by da_long asc"; Query q = qm.createQuery(sql2, Query.JCR_SQL2); QueryResult result = q.execute(); FacetResult facetResult = new FacetResult(result); Set dimensions = facetResult.getDimensions(); // \{ "tags" } List facets = facetResult.getFacets("tags"); for (FacetResult.Facet facet : facets) { String label = facet.getLabel(); int count = facet.getCount(); } 2.SolrQueryIndex code: List returnedFieldFacet = queryResponse.getFacetFields(); was: Hello expert! I cannot get FectResult with solr,my code as follow,I debug the "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get the returned fect result from solr response(queryResponse.getFacetFields()).This question has puzzled me for many days。 1.get fectresult code: String sql = "select [jcr:path] ,[jcr:primaryType] , [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double from da_document where contains([jcr:primaryType],'da_document') order by da_long asc"; Query q = qm.createQuery(sql2, Query.JCR_SQL2); QueryResult result = q.execute(); FacetResult facetResult = new FacetResult(result); Set dimensions = facetResult.getDimensions(); // \{ "tags" } List facets = facetResult.getFacets("tags"); for (FacetResult.Facet facet : facets) { String label = facet.getLabel(); int count = facet.getCount(); } 2.SolrQueryIndex code: List returnedFieldFacet = queryResponse.getFacetFields(); > Can't get fectresult > > > Key: OAK-8770 > URL: https://issues.apache.org/jira/browse/OAK-8770 > Project: Jackrabbit Oak > Issue Type: Bug > Components: 1.14 >Affects Versions: 1.14.0 >Reporter: zhouxu >Priority: Blocker > > Hello expert! > I cannot get FectResult with solr,my code as follow,I debug the > "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get > the returned fect result from solr > response(queryResponse.getFacetFields()).This question has puzzled me for > many days。 > can anyone tell me:How the solr fect data enters into the fectresult? > 1.get fectresult code: > String sql = "select [jcr:path] ,[jcr:primaryType] , > [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double > from da_document where contains([jcr:primaryType],'da_document') order > by da_long asc"; > Query q = qm.createQuery(sql2, Query.JCR_SQL2); > QueryResult result = q.execute(); > FacetResult facetResult = new FacetResult(result); > Set dimensions = facetResult.getDimensions(); // \{ "tags" } > List facets = facetResult.getFacets("tags"); > for (FacetResult.Facet facet : facets) > { String label = facet.getLabel(); int count = > facet.getCount(); } > 2.SolrQueryIndex code: > List returnedFieldFacet = queryResponse.getFacetFields(); -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OAK-8770) Can't get fectresult
[ https://issues.apache.org/jira/browse/OAK-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhouxu updated OAK-8770: Description: Hello expert! I cannot get FectResult with solr,my code as follow,I debug the "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get the returned fect result from solr response(queryResponse.getFacetFields()). This question has puzzled me for many days 1.get fectresult code: String sql = "select [jcr:path] ,[jcr:primaryType] , [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double from da_document where contains([jcr:primaryType],'da_document') order by da_long asc"; Query q = qm.createQuery(sql2, Query.JCR_SQL2); QueryResult result = q.execute(); FacetResult facetResult = new FacetResult(result); Set dimensions = facetResult.getDimensions(); // \{ "tags" } List facets = facetResult.getFacets("tags"); for (FacetResult.Facet facet : facets) { String label = facet.getLabel(); int count = facet.getCount(); } 2.SolrQueryIndex code: List returnedFieldFacet = queryResponse.getFacetFields(); was: Hello expert! I cannot get FectResult with solr,my code as follow,I debug the "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get the returned fect result from solr response(queryResponse.getFacetFields()). 1.get fectresult code: String sql = "select [jcr:path] ,[jcr:primaryType] , [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double from da_document where contains([jcr:primaryType],'da_document') order by da_long asc"; Query q = qm.createQuery(sql2, Query.JCR_SQL2); QueryResult result = q.execute(); FacetResult facetResult = new FacetResult(result); Set dimensions = facetResult.getDimensions(); // \{ "tags" } List facets = facetResult.getFacets("tags"); for (FacetResult.Facet facet : facets) \{ String label = facet.getLabel(); int count = facet.getCount(); } 2.SolrQueryIndex code: List returnedFieldFacet = queryResponse.getFacetFields(); > Can't get fectresult > > > Key: OAK-8770 > URL: https://issues.apache.org/jira/browse/OAK-8770 > Project: Jackrabbit Oak > Issue Type: Bug > Components: 1.14 >Affects Versions: 1.14.0 >Reporter: zhouxu >Priority: Major > > Hello expert! > I cannot get FectResult with solr,my code as follow,I debug the > "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get > the returned fect result from solr response(queryResponse.getFacetFields()). > This question has puzzled me for many days > 1.get fectresult code: > String sql = "select [jcr:path] ,[jcr:primaryType] , > [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double > from da_document where contains([jcr:primaryType],'da_document') order > by da_long asc"; > Query q = qm.createQuery(sql2, Query.JCR_SQL2); > QueryResult result = q.execute(); > FacetResult facetResult = new FacetResult(result); > Set dimensions = facetResult.getDimensions(); // \{ "tags" } > List facets = facetResult.getFacets("tags"); > for (FacetResult.Facet facet : facets) { > String label = facet.getLabel(); > int count = facet.getCount(); > } > 2.SolrQueryIndex code: > List returnedFieldFacet = queryResponse.getFacetFields(); -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OAK-8770) Can't get fectresult
[ https://issues.apache.org/jira/browse/OAK-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhouxu updated OAK-8770: Priority: Blocker (was: Major) > Can't get fectresult > > > Key: OAK-8770 > URL: https://issues.apache.org/jira/browse/OAK-8770 > Project: Jackrabbit Oak > Issue Type: Bug > Components: 1.14 >Affects Versions: 1.14.0 >Reporter: zhouxu >Priority: Blocker > > Hello expert! > I cannot get FectResult with solr,my code as follow,I debug the > "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get > the returned fect result from solr response(queryResponse.getFacetFields()). > This question has puzzled me for many days > 1.get fectresult code: > String sql = "select [jcr:path] ,[jcr:primaryType] , > [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double > from da_document where contains([jcr:primaryType],'da_document') order > by da_long asc"; > Query q = qm.createQuery(sql2, Query.JCR_SQL2); > QueryResult result = q.execute(); > FacetResult facetResult = new FacetResult(result); > Set dimensions = facetResult.getDimensions(); // \{ "tags" } > List facets = facetResult.getFacets("tags"); > for (FacetResult.Facet facet : facets) { > String label = facet.getLabel(); > int count = facet.getCount(); > } > 2.SolrQueryIndex code: > List returnedFieldFacet = queryResponse.getFacetFields(); -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OAK-8770) Can't get fectresult
[ https://issues.apache.org/jira/browse/OAK-8770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhouxu updated OAK-8770: Description: Hello expert! I cannot get FectResult with solr,my code as follow,I debug the "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get the returned fect result from solr response(queryResponse.getFacetFields()).This question has puzzled me for many days。 1.get fectresult code: String sql = "select [jcr:path] ,[jcr:primaryType] , [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double from da_document where contains([jcr:primaryType],'da_document') order by da_long asc"; Query q = qm.createQuery(sql2, Query.JCR_SQL2); QueryResult result = q.execute(); FacetResult facetResult = new FacetResult(result); Set dimensions = facetResult.getDimensions(); // \{ "tags" } List facets = facetResult.getFacets("tags"); for (FacetResult.Facet facet : facets) { String label = facet.getLabel(); int count = facet.getCount(); } 2.SolrQueryIndex code: List returnedFieldFacet = queryResponse.getFacetFields(); was: Hello expert! I cannot get FectResult with solr,my code as follow,I debug the "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get the returned fect result from solr response(queryResponse.getFacetFields()). This question has puzzled me for many days 1.get fectresult code: String sql = "select [jcr:path] ,[jcr:primaryType] , [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double from da_document where contains([jcr:primaryType],'da_document') order by da_long asc"; Query q = qm.createQuery(sql2, Query.JCR_SQL2); QueryResult result = q.execute(); FacetResult facetResult = new FacetResult(result); Set dimensions = facetResult.getDimensions(); // \{ "tags" } List facets = facetResult.getFacets("tags"); for (FacetResult.Facet facet : facets) { String label = facet.getLabel(); int count = facet.getCount(); } 2.SolrQueryIndex code: List returnedFieldFacet = queryResponse.getFacetFields(); > Can't get fectresult > > > Key: OAK-8770 > URL: https://issues.apache.org/jira/browse/OAK-8770 > Project: Jackrabbit Oak > Issue Type: Bug > Components: 1.14 >Affects Versions: 1.14.0 >Reporter: zhouxu >Priority: Blocker > > Hello expert! > I cannot get FectResult with solr,my code as follow,I debug the > "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get > the returned fect result from solr > response(queryResponse.getFacetFields()).This question has puzzled me for > many days。 > 1.get fectresult code: > String sql = "select [jcr:path] ,[jcr:primaryType] , > [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double > from da_document where contains([jcr:primaryType],'da_document') order > by da_long asc"; > Query q = qm.createQuery(sql2, Query.JCR_SQL2); > QueryResult result = q.execute(); > FacetResult facetResult = new FacetResult(result); > Set dimensions = facetResult.getDimensions(); // \{ "tags" } > List facets = facetResult.getFacets("tags"); > for (FacetResult.Facet facet : facets) > { String label = facet.getLabel(); int count = > facet.getCount(); } > 2.SolrQueryIndex code: > List returnedFieldFacet = queryResponse.getFacetFields(); -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (OAK-8770) Can't get fectresult
zhouxu created OAK-8770: --- Summary: Can't get fectresult Key: OAK-8770 URL: https://issues.apache.org/jira/browse/OAK-8770 Project: Jackrabbit Oak Issue Type: Bug Components: 1.14 Affects Versions: 1.14.0 Reporter: zhouxu Hello expert! I cannot get FectResult with solr,my code as follow,I debug the "org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex",i can get the returned fect result from solr response(queryResponse.getFacetFields()). 1.get fectresult code: String sql = "select [jcr:path] ,[jcr:primaryType] , [rep:facet(jcr:primaryType)],id,da_string,da_long,da_date,da_boolean,da_double from da_document where contains([jcr:primaryType],'da_document') order by da_long asc"; Query q = qm.createQuery(sql2, Query.JCR_SQL2); QueryResult result = q.execute(); FacetResult facetResult = new FacetResult(result); Set dimensions = facetResult.getDimensions(); // \{ "tags" } List facets = facetResult.getFacets("tags"); for (FacetResult.Facet facet : facets) \{ String label = facet.getLabel(); int count = facet.getCount(); } 2.SolrQueryIndex code: List returnedFieldFacet = queryResponse.getFacetFields(); -- This message was sent by Atlassian Jira (v8.3.4#803005)