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

Add numDeletedDocs to IndexReader

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • None
    • New

    Description

      Add numDeletedDocs to IndexReader. Basically, the implementation is as simple as doing:
      public int numDeletedDocs() {
      return deletedDocs == null ? 0 : deletedDocs.count();
      }
      in SegmentReader.
      Patch to follow to include in all IndexReader extensions.

      Attachments

        1. LUCENE-1131.patch
          6 kB
          Shai Erera

        Activity

          People

            otis Otis Gospodnetic
            shaie Shai Erera
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: