Alan Woodward commented on LUCENE-8249:

Here's an updated patch:
* matching is moved out to a new abstract class PhraseMatcher, with Exact and 
Sloppy implementations
* PhraseWeight is abstracted from PhraseQuery and MultiPhraseQuery, and handles 
explanations, matches and scorers (this has the nice side-effect of adding 
min-score handling to sloppy phrases)

I'm running benchmarks now

> Add matches to exact PhraseQuery and MultiPhraseQuery
> -----------------------------------------------------
>                 Key: LUCENE-8249
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8249
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8249.patch, LUCENE-8249.patch
> ExactPhraseScorer can be rejigged fairly easily to expose a MatchesIterator

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to