[ 
https://issues.apache.org/jira/browse/SOLR-18666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146299#comment-18146299
 ] 

David Smiley commented on SOLR-18666:
-------------------------------------

Linking to SOLR-9540 which is for JSON Facet API

> 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
>            Priority: Major
>
> 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