DotLucene 1.4 API Documentation |

# IndexSearcher Methods

The methods of the IndexSearcher class are listed below. For a complete list of IndexSearcher class members, see the IndexSearcher Members topic.

#### Public Instance Methods

Close | Note that the underlying IndexReader is not closed, if IndexSearcher was constructed with IndexSearcher(IndexReader r). If the IndexReader was supplied implicitly by specifying a directory, then the IndexReader gets closed.
Doc |
DocFreq |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
Explain |
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.
GetSimilarity (inherited from Searcher) |
GetType (inherited from Object) | Gets the Type of the current instance.
MaxDoc |
Rewrite |
Search | Overloaded.
Search (inherited from Searcher) | Overloaded. Returns documents matching `query` and `filter`, sorted by `sort`.
SetSimilarity (inherited from Searcher) | Expert: Set the Similarity implementation used by this Searcher.
ToString (inherited from Object) | Returns a String that represents the current Object.

#### Protected Instance Methods

Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object.

#### See Also

IndexSearcher Class | Lucene.Net.Search Namespace