Lucene.Net 1.9.1 Class Library

FilterIndexReader Members

FilterIndexReader overview

Public Instance Constructors

FilterIndexReader Constructor

Construct a FilterIndexReader based on the specified base reader. Directory locking for delete, undeleteAll, and setNorm operations is left to the base reader.

Note that base reader is closed if this FilterIndexReader is closed.

Public Instance Methods

Close (inherited from IndexReader) Closes files associated with this index. Also saves any new deletions to disk. No other methods should be called after this has been called.
Delete (inherited from IndexReader)Overloaded. Deletes the document numbered
docNum
. Once a document is deleted it will not appear in TermDocs or TermPostitions enumerations. Attempts to read its field with the {@link #document} method will result in an error. The presence of this document may still be reflected in the {@link #docFreq} statistic, though this will be corrected eventually as the index is further modified.
DeleteDocument (inherited from IndexReader)Deletes the document numbered
docNum
. Once a document is deleted it will not appear in TermDocs or TermPostitions enumerations. Attempts to read its field with the {@link #document} method will result in an error. The presence of this document may still be reflected in the {@link #docFreq} statistic, though this will be corrected eventually as the index is further modified.
DeleteDocuments (inherited from IndexReader)Deletes all documents containing
term
. This is useful if one uses a document field to hold a unique ID string for the document. Then to delete such a document, one merely constructs a term with the appropriate field and the unique ID string as its text and passes it to this method. See {@link #Delete(int)} for information about when this deletion will become effective.
Directory (inherited from IndexReader)Returns the directory this index resides in.
DocFreq 
Document 
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetFieldNamesOverloaded.  
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetIndexedFieldNamesOverloaded.  
GetIndexedFieldNames (inherited from IndexReader)Overloaded. Get a list of unique field names that exist in this index, are indexed, and have the specified term vector information.
GetTermFreqVector 
GetTermFreqVectors 
GetType (inherited from Object) Gets the Type of the current instance.
GetVersion (inherited from IndexReader) Version number when this IndexReader was opened.
HasDeletions 
HasNorms 
IsCurrent (inherited from IndexReader) Check whether this IndexReader still works on a current version of the index. If this is not the case you will need to re-open the IndexReader to make sure you see the latest changes made to the index.
IsDeleted 
MaxDoc 
NormsOverloaded.  
NumDocs 
SetNorm (inherited from IndexReader)Overloaded. Expert: Resets the normalization factor for the named field of the named document.
TermDocsOverloaded.  
TermDocs (inherited from IndexReader)Overloaded. Returns an unpositioned {@link TermDocs} enumerator.
TermPositionsOverloaded.  
TermPositions (inherited from IndexReader)Overloaded. Returns an unpositioned {@link TermPositions} enumerator.
TermsOverloaded.  
ToString (inherited from Object) Returns a String that represents the current Object.
UndeleteAll (inherited from IndexReader)Undeletes all documents currently marked as deleted in this index.

Protected Instance Methods

Finalize (inherited from IndexReader)Release the write lock, if needed.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Protected Internal Instance Fields

in_Renamed 

Protected Internal Instance Methods

Commit (inherited from IndexReader) Commit changes resulting from delete, undeleteAll, or setNorm operations
DoClose 
DoCommit 
DoDelete 
DoSetNorm 
DoUndeleteAll 

See Also

FilterIndexReader Class | Lucene.Net.Index Namespace