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

Improve the use of isDeleted in the indexing code

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • core/index
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: