lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul.elschot (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-569) NearSpans skipTo bug
Date Tue, 20 Jun 2006 21:39:30 GMT
     [ http://issues.apache.org/jira/browse/LUCENE-569?page=all ]

paul.elschot updated LUCENE-569:
--------------------------------

    Attachment: NearSpansOrdered.java
                NearSpansUnordered.java

These two attachments (NearSpansOrdered and NearSpansUnordered), together with the near spans
patch at the issue indicated above, pass all tests here, including the patched spans explanation
test.

The attachments share the code that defines the ordering of spans.

Some minor refactoring will probably be needed.

> NearSpans skipTo bug
> --------------------
>
>          Key: LUCENE-569
>          URL: http://issues.apache.org/jira/browse/LUCENE-569
>      Project: Lucene - Java
>         Type: Bug

>   Components: Search
>     Reporter: Hoss Man
>  Attachments: NearSpansOrdered.java, NearSpansUnordered.java, SpanScorer.explain.testcase.patch,
TestNearSpans.java
>
> NearSpans appears to have a bug in skipTo that causes it to skip over some matching documents
completely.  I discovered this bug while investigating problems with SpanWeight.explain, but
as far as I can tell the Bug is not specific to Explanations ... it seems like it could potentially
result in incorrect matching in some situations where a SpanNearQuery is nested in another
query such thatskipTo will be used ... I tried to create a high level test case to exploit
the bug when searching, but i could not.  TestCase exploiting the class using NearSpan and
SpanScorer will follow...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
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