You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jonny Marks (JIRA)" <ji...@apache.org> on 2016/11/04 10:51:59 UTC

[jira] [Created] (SOLR-9726) DocValuesFacets: move 'contains' check after 'min' check

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org