[
https://issues.apache.org/jira/browse/SOLR-9726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15644982#comment-15644982
]
ASF subversion and git services commented on SOLR-9726:
-------------------------------------------------------
Commit cbf8235e570c8f10f42eb1240f7e0d5918e7025c in lucene-solr's branch
refs/heads/master from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=cbf8235 ]
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]