[ http://issues.apache.org/jira/browse/LUCENE-333?page=all ] paul.elschot closed LUCENE-333: -------------------------------
Resolution: Later Assign To: (was: Lucene Developers) The only reason this issue is still open is that it contains some code that might be useful for implementing disjunctions. I just left a reference there (performance of DisjunctionSumScorer), so this can be closed as "later". > [PATCH] BooleanScorer can score documents in non increasing order > ----------------------------------------------------------------- > > Key: LUCENE-333 > URL: http://issues.apache.org/jira/browse/LUCENE-333 > Project: Lucene - Java > Type: Bug > Components: Search > Versions: CVS Nightly - Specify date in submission > Environment: Operating System: other > Platform: Other > Reporter: paul.elschot > Priority: Minor > Attachments: BooleanQueryPatch4.txt, BooleanScorer.java, BooleanScorer.java, > BooleanScorer1.java, BooleanScorer1.java, BooleanScorerPatch1.txt, > TestBoolean2Patch4.txt > > This has been the subject of occasional discussions on lucene-dev > since quite some time. Doug once called this "arguably a bug" > so I'm giving a minor severity. > > It should be noted that this behaviour of BooleanScorer does not > cause bugs in the current versions of Lucene. > > The main reason I'm entering it now is that it blocks the introduction > of filters based on other more compact data structures than > java.util.BitSet (see bug 32965). > > An alternative scorer for BooleanQuery is available that always > scores documents in increasing document order (see bug 31785). > It might also be possible to improve the current BooleanScorer > to always score documents in increasing order. > > A somewhat related problem is that the current BooleanScorer does > not implement skipTo(). > > Regards, > Paul Elschot -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]