[
https://issues.apache.org/jira/browse/LUCENE-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495491#comment-14495491
]
ASF subversion and git services commented on LUCENE-6421:
---------------------------------------------------------
Commit 1673597 from [~rcmuir] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1673597 ]
LUCENE-6421: defer reading of positions in MultiPhraseQuery until they are
needed
> Add two-phase support to MultiPhraseQuery
> -----------------------------------------
>
> Key: LUCENE-6421
> URL: https://issues.apache.org/jira/browse/LUCENE-6421
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Fix For: Trunk, 5.2
>
> Attachments: LUCENE-6421.patch, LUCENE-6421_luceneutil.patch
>
>
> Two-phase support currently works for both sloppy and exact Scorers but it
> does not work if you have multiple terms at the same position
> (MultiPhraseQuery).
> This is because UnionPostingsEnum.nextDoc() aggressively reads and merges all
> the positions. Even making this initialization lazy might just be enough?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]