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

Improve the use of isDeleted in the indexing code

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      A spin off from here: http://www.nabble.com/Some-thoughts-around-the-use-of-reader.isDeleted-and-hasDeletions-td23931216.html.
      Two changes:

      1. Optimize SegmentMerger work when a reader has no deletions.
      2. IndexReader.document() will no longer check if the document is deleted.

      Will post a patch shortly

        Attachments

        1. LUCENE-1708.patch
          29 kB
          Shai Erera
        2. LUCENE-1708.patch
          29 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              shaie Shai Erera
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: