[ https://issues.apache.org/jira/browse/LUCENE-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Elschot updated LUCENE-1345: --------------------------------- Attachment: LUCENE-1345.patch Patch of 20080729: all tests pass, but no tests cases for filter clauses yet. Added BooleanFilterClause class, usable as argument to BooleanQuery.add(). API change: made ReqExclScorer package private, added an arg to the constructor. Removed the queueSize variable in DisjunctionSumScorer and in the added DisjunctionDISI. Left the doc caching in ScorerDocQueue and in the added DisiDocQueue. It might be possible to subclass DisjunctionSumScorer from DisjunctionDISI, and to subclass ScorerDocQueue from DisiDocQueue, I have not checked that. Since ConjunctionScorer can handle DocIdSetIterators with this patch, it should improve the speed for Filters when they are added to a BooleanQuery instead of being used as through the current search API. Eks, thanks for DisjunctionDISI, I took it a bit further. > Allow Filter as clause to BooleanQuery > -------------------------------------- > > Key: LUCENE-1345 > URL: https://issues.apache.org/jira/browse/LUCENE-1345 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Reporter: Paul Elschot > Priority: Minor > Attachments: DisjunctionDISI.patch, DisjunctionDISI.patch, > LUCENE-1345.patch, LUCENE-1345.patch, TestIteratorPerf.java > > -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]