[jira] [Commented] (SOLR-10480) Offset does not allow for full pagination in JSON Facet API
[ https://issues.apache.org/jira/browse/SOLR-10480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15986161#comment-15986161 ] Maxime Darçot commented on SOLR-10480: -- Well, thanks for the fix. Looking forward to use the version 6.6. > Offset does not allow for full pagination in JSON Facet API > --- > > Key: SOLR-10480 > URL: https://issues.apache.org/jira/browse/SOLR-10480 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module, SolrCloud >Affects Versions: 6.4.1 >Reporter: Maxime Darçot >Assignee: Yonik Seeley > Fix For: 6.6 > > Attachments: SOLR-10480.patch > > > I have a SolrCloud cluster and when I use the JSON facet API to do term > faceting like this: > bq. json.facet={"results":{"type": "terms", "field": "my_field", "limit": > 100, "offset": 100, "numBuckets": true}} > it does work correctly. > However the _numBuckets_ tells me in return that I have more than 6 millions > buckets but as soon as I start to grow the _offset_ value to browse these > buckets, it doesn't return anything anymore (when I reach an offset of around > 300). > What is even weirder is that if I put a bigger _limit_, like 10'000, I can > increase the _offset_ until around 29'000 before it doesn't return anything. > And the returned _numBuckets_ doesn't change all the while. > It is a big problem because we can't paginate till the end of the buckets. > Might be related to SOLR-7452, I don't know... -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10480) Offset does not allow for full pagination in JSON Facet API
[ https://issues.apache.org/jira/browse/SOLR-10480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15984104#comment-15984104 ] ASF subversion and git services commented on SOLR-10480: Commit b90bfaba1f065598033b60f0ba5ffaa40053eb42 in lucene-solr's branch refs/heads/branch_6x from [~yo...@apache.org] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b90bfab ] SOLR-10480: fix offset param handling in JSON Facet API > Offset does not allow for full pagination in JSON Facet API > --- > > Key: SOLR-10480 > URL: https://issues.apache.org/jira/browse/SOLR-10480 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module, SolrCloud >Affects Versions: 6.4.1 >Reporter: Maxime Darçot >Assignee: Yonik Seeley > Attachments: SOLR-10480.patch > > > I have a SolrCloud cluster and when I use the JSON facet API to do term > faceting like this: > bq. json.facet={"results":{"type": "terms", "field": "my_field", "limit": > 100, "offset": 100, "numBuckets": true}} > it does work correctly. > However the _numBuckets_ tells me in return that I have more than 6 millions > buckets but as soon as I start to grow the _offset_ value to browse these > buckets, it doesn't return anything anymore (when I reach an offset of around > 300). > What is even weirder is that if I put a bigger _limit_, like 10'000, I can > increase the _offset_ until around 29'000 before it doesn't return anything. > And the returned _numBuckets_ doesn't change all the while. > It is a big problem because we can't paginate till the end of the buckets. > Might be related to SOLR-7452, I don't know... -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10480) Offset does not allow for full pagination in JSON Facet API
[ https://issues.apache.org/jira/browse/SOLR-10480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15984098#comment-15984098 ] ASF subversion and git services commented on SOLR-10480: Commit 1f693769bad1cd8fc40b339d00c43f16f9d1 in lucene-solr's branch refs/heads/master from [~yo...@apache.org] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1f6 ] SOLR-10480: fix offset param handling in JSON Facet API > Offset does not allow for full pagination in JSON Facet API > --- > > Key: SOLR-10480 > URL: https://issues.apache.org/jira/browse/SOLR-10480 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module, SolrCloud >Affects Versions: 6.4.1 >Reporter: Maxime Darçot >Assignee: Yonik Seeley > Attachments: SOLR-10480.patch > > > I have a SolrCloud cluster and when I use the JSON facet API to do term > faceting like this: > bq. json.facet={"results":{"type": "terms", "field": "my_field", "limit": > 100, "offset": 100, "numBuckets": true}} > it does work correctly. > However the _numBuckets_ tells me in return that I have more than 6 millions > buckets but as soon as I start to grow the _offset_ value to browse these > buckets, it doesn't return anything anymore (when I reach an offset of around > 300). > What is even weirder is that if I put a bigger _limit_, like 10'000, I can > increase the _offset_ until around 29'000 before it doesn't return anything. > And the returned _numBuckets_ doesn't change all the while. > It is a big problem because we can't paginate till the end of the buckets. > Might be related to SOLR-7452, I don't know... -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10480) Offset does not allow for full pagination in JSON Facet API
[ https://issues.apache.org/jira/browse/SOLR-10480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15983121#comment-15983121 ] Yonik Seeley commented on SOLR-10480: - OK, I was able to reproduce this issue and am looking for the root cause. > Offset does not allow for full pagination in JSON Facet API > --- > > Key: SOLR-10480 > URL: https://issues.apache.org/jira/browse/SOLR-10480 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module, SolrCloud >Affects Versions: 6.4.1 >Reporter: Maxime Darçot > > I have a SolrCloud cluster and when I use the JSON facet API to do term > faceting like this: > bq. json.facet={"results":{"type": "terms", "field": "my_field", "limit": > 100, "offset": 100, "numBuckets": true}} > it does work correctly. > However the _numBuckets_ tells me in return that I have more than 6 millions > buckets but as soon as I start to grow the _offset_ value to browse these > buckets, it doesn't return anything anymore (when I reach an offset of around > 300). > What is even weirder is that if I put a bigger _limit_, like 10'000, I can > increase the _offset_ until around 29'000 before it doesn't return anything. > And the returned _numBuckets_ doesn't change all the while. > It is a big problem because we can't paginate till the end of the buckets. > Might be related to SOLR-7452, I don't know... -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10480) Offset does not allow for full pagination in JSON Facet API
[ https://issues.apache.org/jira/browse/SOLR-10480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15981352#comment-15981352 ] Karthik Ramachandran commented on SOLR-10480: - I agree with [~The_matrixme], in my case with shard query facet query does not return result with pagination. I have sample code to demo the issue. https://gist.github.com/mrkarthik/8848dfb54536df4a24103d6939b54f61 > Offset does not allow for full pagination in JSON Facet API > --- > > Key: SOLR-10480 > URL: https://issues.apache.org/jira/browse/SOLR-10480 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module, SolrCloud >Affects Versions: 6.4.1 >Reporter: Maxime Darçot > > I have a SolrCloud cluster and when I use the JSON facet API to do term > faceting like this: > bq. json.facet={"results":{"type": "terms", "field": "my_field", "limit": > 100, "offset": 100, "numBuckets": true}} > it does work correctly. > However the _numBuckets_ tells me in return that I have more than 6 millions > buckets but as soon as I start to grow the _offset_ value to browse these > buckets, it doesn't return anything anymore (when I reach an offset of around > 300). > What is even weirder is that if I put a bigger _limit_, like 10'000, I can > increase the _offset_ until around 29'000 before it doesn't return anything. > And the returned _numBuckets_ doesn't change all the while. > It is a big problem because we can't paginate till the end of the buckets. > Might be related to SOLR-7452, I don't know... -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10480) Offset does not allow for full pagination in JSON Facet API
[ https://issues.apache.org/jira/browse/SOLR-10480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979095#comment-15979095 ] Maxime Darçot commented on SOLR-10480: -- This is definitely an issue about the pagination and not about the estimate of numBuckets. Indeed if for one faceted query I put a limit of 100 I can go up to an offset of around 300 before the query doesn't return anything anymore (which would mean that there are around 300 buckets), while with the same query but a limit of 10'000, I can go up to around 30'000 for the offset (which means that there are definitely a lot more than 300 buckets). > Offset does not allow for full pagination in JSON Facet API > --- > > Key: SOLR-10480 > URL: https://issues.apache.org/jira/browse/SOLR-10480 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module, SolrCloud >Affects Versions: 6.4.1 >Reporter: Maxime Darçot > > I have a SolrCloud cluster and when I use the JSON facet API to do term > faceting like this: > bq. json.facet={"results":{"type": "terms", "field": "my_field", "limit": > 100, "offset": 100, "numBuckets": true}} > it does work correctly. > However the _numBuckets_ tells me in return that I have more than 6 millions > buckets but as soon as I start to grow the _offset_ value to browse these > buckets, it doesn't return anything anymore (when I reach an offset of around > 300). > What is even weirder is that if I put a bigger _limit_, like 10'000, I can > increase the _offset_ until around 29'000 before it doesn't return anything. > And the returned _numBuckets_ doesn't change all the while. > It is a big problem because we can't paginate till the end of the buckets. > Might be related to SOLR-7452, I don't know... -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10480) Offset does not allow for full pagination in JSON Facet API
[ https://issues.apache.org/jira/browse/SOLR-10480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979060#comment-15979060 ] Yonik Seeley commented on SOLR-10480: - I think this is probably caused by a bad estimate for numBuckets... meaning that if you keep paging, you should get all the values (we're just wrong about the number of values). > Offset does not allow for full pagination in JSON Facet API > --- > > Key: SOLR-10480 > URL: https://issues.apache.org/jira/browse/SOLR-10480 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module, SolrCloud >Affects Versions: 6.4.1 >Reporter: Maxime Darçot > > I have a SolrCloud cluster and when I use the JSON facet API to do term > faceting like this: > bq. json.facet={"results":{"type": "terms", "field": "my_field", "limit": > 100, "offset": 100, "numBuckets": true}} > it does work correctly. > However the _numBuckets_ tells me in return that I have more than 6 millions > buckets but as soon as I start to grow the _offset_ value to browse these > buckets, it doesn't return anything anymore (when I reach an offset of around > 300). > What is even weirder is that if I put a bigger _limit_, like 10'000, I can > increase the _offset_ until around 29'000 before it doesn't return anything. > And the returned _numBuckets_ doesn't change all the while. > It is a big problem because we can't paginate till the end of the buckets. > Might be related to SOLR-7452, I don't know... -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-10480) Offset does not allow for full pagination in JSON Facet API
[ https://issues.apache.org/jira/browse/SOLR-10480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15966030#comment-15966030 ] Varun Thacker commented on SOLR-10480: -- I believe [~kramachand...@commvault.com] brought it up on the mailing list as well : http://solr.markmail.org/search/JSON+facet+bucket+list+not+correct+with+sharded+query > Offset does not allow for full pagination in JSON Facet API > --- > > Key: SOLR-10480 > URL: https://issues.apache.org/jira/browse/SOLR-10480 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module, SolrCloud >Affects Versions: 6.4.1 >Reporter: Maxime Darçot > > I have a SolrCloud cluster and when I use the JSON facet API to do term > faceting like this: > bq. json.facet={"results":{"type": "terms", "field": "my_field", "limit": > 100, "offset": 100, "numBuckets": true}} > it does work correctly. > However the _numBuckets_ tells me in return that I have more than 6 millions > buckets but as soon as I start to grow the _offset_ value to browse these > buckets, it doesn't return anything anymore (when I reach an offset of around > 300). > What is even weirder is that if I put a bigger _limit_, like 10'000, I can > increase the _offset_ until around 29'000 before it doesn't return anything. > And the returned _numBuckets_ doesn't change all the while. > It is a big problem because we can't paginate till the end of the buckets. > Might be related to SOLR-7452, I don't know... -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org