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

Adrien Grand commented on LUCENE-6421:
--------------------------------------

+1 this looks much cleaner already

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

Reply via email to