The Collector type exposes the following members.
Methods
Name | Description | |
---|---|---|
AcceptsDocsOutOfOrder |
* Return CopyC# true CopyC# Collector CopyC# true | |
Collect | Called once for every document matching a query, with the unbased document
number.
Note: This is called in an inner search loop. For good search performance,
implementations of this method should not call {@link Searcher#Doc(int)} or
{@link Lucene.Net.Index.IndexReader#Document(int)} on every hit.
Doing so can slow searches by an order of magnitude or more.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetNextReader | Called before collecting from each IndexReader. All doc ids in
{@link #Collect(int)} will correspond to reader.
Add docBase to the current IndexReaders internal document id to re-base ids
in {@link #Collect(int)}.
| |
SetScorer | Called before successive calls to {@link #Collect(int)}. Implementations
that need the score of the current document (passed-in to
{@link #Collect(int)}), should save the passed-in Scorer and call
scorer.score() when needed.
| |
ToString | (Inherited from Object.) |