make applying deletes optional when pulling a new NRT reader
------------------------------------------------------------

                 Key: LUCENE-2900
                 URL: https://issues.apache.org/jira/browse/LUCENE-2900
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Index
            Reporter: Michael McCandless
            Assignee: Michael McCandless
             Fix For: 3.1, 4.0


Usually when you pull an NRT reader, you want all deletes to be applied.

But in some expert cases you may not need it (eg you just want to validate that 
the doc was indexed).  Since it's costly to apply deletes, and trivial to add 
this boolean (we already have a boolean internally), I think we should add it.

The deletes are still buffered, and you can always later pull another reader 
(for "real" searching) with deletes applied.

-- 
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to