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] Commented: (LUCENE-1345) Allow Filter as clause to BooleanQuery
Date Mon, 20 Apr 2009 22:06:47 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700961#action_12700961
] 

Paul Elschot commented on LUCENE-1345:
--------------------------------------

The interesting thing to benchmark is filtered queries. One could do this by adding the filter
as a required clause to a BooleanQuery in IndexSearcher, and see whether filtered queries
are faster with that implementation. This part should work normally with the current patch.

In case that turns out to make a real difference, it might also be considered to deprecate
all the Searcher methods that take a Filter argument, and indicate the preferred alternative
implementation with a Filter as a clause to BooleanQuery in the javadocs.

Now, if I could find the time to get this last bug out of the current patch...

> 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
>             Fix For: 2.9
>
>         Attachments: booleansetperf.txt, DisjunctionDISI.java, DisjunctionDISI.patch,
DisjunctionDISI.patch, LUCENE-1345-Filter+Query-merge.patch, LUCENE-1345.patch, LUCENE-1345.patch,
LUCENE-1345.patch, OpenBitSetIteratorExperiment.java, TestIteratorPerf.java, 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message