You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2011/01/30 19:05:43 UTC

[jira] Updated: (LUCENE-2900) make applying deletes optional when pulling a new NRT reader

     [ https://issues.apache.org/jira/browse/LUCENE-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-2900:
---------------------------------------

    Attachment: LUCENE-2900.patch

Simple patch.  I'll commit shortly.

> 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
>
>         Attachments: LUCENE-2900.patch
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org