[
https://issues.apache.org/jira/browse/LUCENE-8941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901973#comment-16901973
]
ASF subversion and git services commented on LUCENE-8941:
---------------------------------------------------------
Commit b5b78e0adeb9db9345b69abedabd8c5cd684df7b in lucene-solr's branch
refs/heads/branch_8x from Alan Woodward
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b5b78e0 ]
LUCENE-8941: Build wildcard matches lazily
> Build wildcard matches more lazily
> ----------------------------------
>
> Key: LUCENE-8941
> URL: https://issues.apache.org/jira/browse/LUCENE-8941
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Major
> Attachments: LUCENE-8941.patch, LUCENE-8941.patch
>
>
> When retrieving a Matches object from a multi-term query, such as an
> AutomatonQuery or TermInSetQuery, we currently find all matching term
> iterators up-front, to return a disjunction over all of them. This can be
> inefficient if we're only interested in finding out if anything matched, and
> are iterating over a different field to retrieve offsets.
> We can improve this by returning immediately when the first matching term is
> found, and only collecting other matching terms when we start iterating.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]