[ https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605053#comment-13605053 ]
Shahar Davidson commented on SOLR-2894: --------------------------------------- Hi Andrew (and Chris), I just wanted to report a problem that we found in the patch from Jan 14th. In short, the problem seems to be related to facet.limit and the symptom is that a distributed pivot returns less terms than expected. Here's a simple scenario: If I run a (non-distributed) pivot such as: {noformat}http://myHost:8999/solr/core-A/select?q=*:*&wt=xml&facet=true&facet.pivot=field_A,field_B&rows=0&facet.limit=-1&facet.sort=count{noformat} then I would get N terms for field_A. (where, in my case, N is in the thousands) BUT, if I run a distributed pivot such as: {noformat}http://myHost:8999/solr/core-B/select?shards=myHost:8999/solr/core-A&q=*:*&wt=xml&facet=true&facet.pivot=field_A,field_B&rows=0&facet.limit=-1&facet.sort=count{noformat} then I would get _at most_ 160 terms for field_A. (Why exactly 160?? I have no idea) On the other hand, if I use f.<field_name>.facet.limit=-1 then things work as expected. For example: {noformat}http://myHost:8999/solr/core-B/select?shards=myHost:8999/solr/core-A&q=*:*&wt=xml&facet=true&facet.pivot=field_A,field_B&rows=0&f.field_A.facet.limit=-1&f.field_B.facet.limit=-1&facet.sort=count{noformat} This will return exactly N terms for field_A as expected. I'll appreciate your help with this. Shahar. > Implement distributed pivot faceting > ------------------------------------ > > Key: SOLR-2894 > URL: https://issues.apache.org/jira/browse/SOLR-2894 > Project: Solr > Issue Type: Improvement > Reporter: Erik Hatcher > Fix For: 4.3 > > Attachments: SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, > SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, > SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894-reworked.patch > > > Following up on SOLR-792, pivot faceting currently only supports > undistributed mode. Distributed pivot faceting needs to be implemented. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org