- close
Closes files associated with this index. Also saves any new deletions to disk.
No other methods shou
- numDocs
Returns the number of documents in this index.
- maxDoc
Returns one greater than the largest possible document number. This may be used
to, e.g., determine
- document
- open
- docFreq
Returns the number of documents containing theterm. This method returns 0 if the
term or field does
- leaves
Returns the reader's leaves, or itself if this reader is atomic. This is a
convenience method callin
- terms
Returns an enumeration of all terms starting at a given term. If the given term
does not exist, the
- termDocs
Returns an enumeration of all the documents which containterm. For each
document, the document numbe
- indexExists
Returns true if an index exists at the specified directory. If the directory
does not exist or if th
- hasDeletions
Returns true if any documents have been deleted. Implementers should consider
overriding this method
- isDeleted
Returns true if document n has been deleted