David Smiley created SOLR-18666:
-----------------------------------

             Summary: facet.exists should apply to facet.query
                 Key: SOLR-18666
                 URL: https://issues.apache.org/jira/browse/SOLR-18666
             Project: Solr
          Issue Type: Improvement
          Components: faceting
            Reporter: David Smiley


The facet.exists boolean optimization is only usable in limited circumstances 
(ref guide sadly doesn't say so).  It could/should be able to work on any facet 
type.  This issue proposes on facet.query.  Today, it has no effect (is 
ignored), so facet.query returns the count without the optimization to stop 
early at 1.

Note: As Solr's original/legacy facets API is legacy, we could consider 
implementing this on JSON Facets, which today has no equivalent.  We'd 
ultimately like it to work on all facet types within that API.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to