lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1791) Enhance QueryUtils and CheckHIts to wrap everything they check in MultiReader/MultiSearcher
Date Fri, 07 Aug 2009 06:39:15 GMT

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

Hoss Man updated LUCENE-1791:
-----------------------------

    Attachment: LUCENE-1791.patch

Patch showing what i have in mind.

Current patch causes 14 failures in TestComplexExplanations, all of which stem from calling
checkFirstSkipTo() on IndexSearcher created by wrapUnderlyingReader().  

The failure is QueryUtils.java:305: "unstable skipTo(0) score! expected:<NaN> but was:<NaN>"
which seems like it could easily be a bug introduced by the patch, except...

   * Why only cause 14/22 in TestComplexExplanations to fail?
   * Why wouldn't the original IndexSearcher have produced a NaN score?


> Enhance QueryUtils and CheckHIts to wrap everything they check in MultiReader/MultiSearcher
> -------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1791
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1791
>             Project: Lucene - Java
>          Issue Type: Test
>            Reporter: Hoss Man
>         Attachments: LUCENE-1791.patch
>
>
> methods in CheckHits & QueryUtils are in a good position to take any Searcher they
are given and not only test it, but also test MultiReader & MultiSearcher constructs built
around them

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