[
https://issues.apache.org/jira/browse/LUCENE-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029274#comment-13029274
]
Doron Cohen commented on LUCENE-3068:
-------------------------------------
Thanks for reviewing Shai!
I'll updated the patch with random newDirectory and newICFG - not the focus
here, but may improve coverage anyhow,
I added tests for the combined case - some AND some OR - that is, using MPQ,
some add() with a single term (AND), some with an array longer than 1 (OR).
Also refactored the tests a bit so that now there's a small test method for
each test case.
> The repeats mechanism in SloppyPhraseScorer is broken when doc has tokens at
> same position
> ------------------------------------------------------------------------------------------
>
> Key: LUCENE-3068
> URL: https://issues.apache.org/jira/browse/LUCENE-3068
> Project: Lucene - Java
> Issue Type: Bug
> Components: Search
> Affects Versions: 3.0.3, 3.1, 4.0
> Reporter: Michael McCandless
> Assignee: Doron Cohen
> Priority: Minor
> Fix For: 3.2, 4.0
>
> Attachments: LUCENE-3068.patch, LUCENE-3068.patch, LUCENE-3068.patch
>
>
> In LUCENE-736 we made fixes to SloppyPhraseScorer, because it was
> matching docs that it shouldn't; but I think those changes caused it
> to fail to match docs that it should, specifically when the doc itself
> has tokens at the same position.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]