Mike Drob created SOLR-9261:
-------------------------------

             Summary: facet.field.limit doesn't work in local params for 
distributed search
                 Key: SOLR-9261
                 URL: https://issues.apache.org/jira/browse/SOLR-9261
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Mike Drob


This is kind of an esoteric usage and several things have to be true for the 
issue to surface. We discovered it using Hue generated queries.

If you 1) specify a global facet.limit, 2) specify a facet.field.limit in local 
params, 3) on a distributed search, then the field limit will be ignored.

Some examples:
{{facet.limit=2&facet.field=\{!key=other f.cat.facet.limit=15\}cat}} -- works 
for single shard, but not multiple shards.
{{facet.limit=2&facet.field=cat&f.cat.facet.limit=15}} -- works in all cases

This could be treated as a docs bug to explicitly say that while some facet 
settings in local params work, they should not be relied upon, or we could 
treat this as a parser bug and make distributed search work like non-distrib.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to