Jonny Marks created SOLR-9726:
---------------------------------

             Summary: DocValuesFacets: move 'contains' check after 'min' check
                 Key: SOLR-9726
                 URL: https://issues.apache.org/jira/browse/SOLR-9726
             Project: Solr
          Issue Type: Task
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Jonny Marks
            Priority: Minor


If a query requests facets with a 'contains' check, DocValuesFacets converts 
each term's ordinal to a BytesRef, does the string match and then checks 
whether it has a high enough count to go in the priority queue.
This patch moves the lookup after the min check so that we don't do it for all 
terms.



--
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