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

ASF subversion and git services commented on SOLR-9726:
-------------------------------------------------------

Commit 1c7ae9215cbb276a89ae17fd95a43c54ef582a68 in lucene-solr's branch 
refs/heads/branch_6x from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1c7ae92 ]

SOLR-9726: Reduce number of lookupOrd calls made by the 
DocValuesFacets.getCounts method. (Jonny Marks via Christine Poerschke)


> 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
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-9726.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to