Apache Lucene.Net 2.4.0 Class Library API

MultiSearcher Members

MultiSearcher overview

Public Instance Constructors

MultiSearcher Constructor Creates a searcher which searches searchables.

Public Instance Methods

Close 
DocOverloaded.  
DocFreq 
DocFreqs (inherited from Searcher) 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ExplainOverloaded.  
Explain (inherited from Searcher)Overloaded.  
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetSearchablesReturn the array of {@link Searchable}s this searches.
GetSimilarity (inherited from Searcher) 
GetType (inherited from Object)Gets the Type of the current instance.
MaxDoc 
Rewrite 
SearchOverloaded.  
Search (inherited from Searcher)Overloaded. Returns the documents matching
query
.
SetSimilarity (inherited from Searcher)Expert: Set the Similarity implementation used by this Searcher.
SubDocReturns the document number of document
n
within its sub-index.
SubSearcherReturns index of the searcher for document
n
in the array used to construct 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.

Protected Internal Instance Methods

CreateWeight Create weight in multiple index scenario. Distributed query processing is done in the following steps: 1. rewrite query 2. extract necessary terms 3. collect dfs for these terms from the Searchables 4. create query weight using aggregate dfs. 5. distribute that weight to Searchables 6. merge results Steps 1-4 are done here, 5+6 in the search() methods
GetStarts 

See Also

MultiSearcher Class | Lucene.Net.Search Namespace