lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-736) Sloppy Phrase Scorer matches the doc "A B C D E" for query = "B C B"~2
Date Tue, 24 Apr 2007 05:39:15 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doron Cohen resolved LUCENE-736.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
    Lucene Fields: [Patch Available]  (was: [Patch Available, New])

Fixed.
* Search time cost of this fix is 4%, for sloppy phrase search. 
* This fix also partially brings back the the tests checkSkipTo() in QueryUtils, 
  (which was disabled by LUCENE-730), but this is now invoked only for non Boolean scorers.

> Sloppy Phrase Scorer matches the doc "A B C D E" for query = "B C B"~2
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-736
>                 URL: https://issues.apache.org/jira/browse/LUCENE-736
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>            Reporter: Doron Cohen
>         Assigned To: Doron Cohen
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: perf-search-new.log, perf-search-orig.log, res-search-new2.log,
res-search-orig2.log, sloppy_phrase.patch2.txt, sloppy_phrase.patch3.txt, sloppy_phrase_java.patch.txt,
sloppy_phrase_tests.patch.txt
>
>
> This is an extension of https://issues.apache.org/jira/browse/LUCENE-697
> In addition to abnormalities Yonik pointed out in 697, there seem to be other issues
with slopy phrase search and scoring.
> 1) A phrase with a repeated word would be detected in a document although it is not there.
> I.e. document = A B D C E , query = "B C B" would not find this document (as expected),
but query "B C B"~2 would find it. 
> I think that no matter how large the slop is, this document should not be a match.
> 2) A document containing both orders of a query, symmetrically, would score differently
for the queru and for its reveresed form.
> I.e. document = A B C B A would score differently for queries "B C"~2 and "C B"~2, although
it is symmetric to both.
> I will attach test cases that show both these problems and the one reported by Yonik
in 697. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message