There are many expensive to evaluate queries. If you move the
deletions check to a clause, then these will be evaluated on deleted
documents.
For example, we have a query that inspects stored fields, augmented
first by an indexed term - basically specialized phrase matching, so
a user can search for "engels r", and we don't need to evaluate all
terms that begin with r.
Evaluating these on deleted documents is a waste of resources.
On Jan 10, 2009, at 7:23 AM, Michael McCandless (JIRA) wrote:
[ https://issues.apache.org/jira/browse/LUCENE-1345?
page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
tabpanel&focusedCommentId=12662657#action_12662657 ]
Michael McCandless commented on LUCENE-1345:
--------------------------------------------
{quote}
(Hmm...Thinking out loud: DeletionsFilter as a subclass of Query...)
{quote}
+1
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.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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org