Issue Details (XML | Word | Printable)

Key: LUCENE-1131
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Otis Gospodnetic
Reporter: Shai Erera
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

Add numDeletedDocs to IndexReader

Created: 11/Jan/08 08:07 PM   Updated: 11/Oct/08 12:49 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 2.4

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works LUCENE-1131.patch 2008-01-12 05:27 AM Shai Erera 6 kB

Lucene Fields: New
Resolution Date: 15/Sep/08 03:33 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Shai Erera made changes - 12/Jan/08 05:27 AM
Field Original Value New Value
Attachment LUCENE-1131.patch [ 12373026 ]
Otis Gospodnetic made changes - 14/Jan/08 06:55 PM
Assignee Otis Gospodnetic [ otis ]
Otis Gospodnetic made changes - 15/Sep/08 03:33 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Michael McCandless made changes - 11/Oct/08 12:49 PM
Status Resolved [ 5 ] Closed [ 6 ]