Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2900

make applying deletes optional when pulling a new NRT reader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • core/index
    • None
    • New

    Description

      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.

      Attachments

        1. LUCENE-2900.patch
          19 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: