The Searcher type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
![]() | Close | |
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() | CreateWeight | creates a weight for ![]() query |
![]() | Dispose | Releases all resources used by the Searcher |
![]() | Doc(Int32) | |
![]() | Doc(Int32, FieldSelector) | |
![]() | DocFreq | |
![]() | DocFreqs | |
![]() | Equals | (Inherited from Object.) |
![]() | Explain(Query, Int32) | Returns an Explanation that describes how ![]() doc ![]() query |
![]() | Explain(Weight, Int32) | |
![]() | 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.) |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | GetSimilarity | Expert: Return the Similarity implementation used by this Searcher.
This defaults to the current value of {@link Similarity#GetDefault()}.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | MaxDoc | |
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() | Rewrite | |
![]() | Search(Query) | Obsolete. Returns the documents matching ![]() query |
![]() | Search(Query, Collector) | Lower-level search API.
{@link Collector#Collect(int)} is called for every matching document.
Applications should only use this if they need all of the matching
documents. The high-level search API ({@link Searcher#Search(Query, int)}
) is usually more efficient, as it skips non-high-scoring hits.
Note: The ![]() score |
![]() | Search(Query, Filter) | Obsolete. Returns the documents matching ![]() query ![]() filter |
![]() | Search(Query, HitCollector) | Obsolete. Lower-level search API.
{@link HitCollector#Collect(int,float)} is called for every matching
document.
Applications should only use this if they need all of the
matching documents. The high-level search API ({@link
Searcher#Search(Query)}) is usually more efficient, as it skips
non-high-scoring hits.
Note: The ![]() score |
![]() | Search(Query, Sort) | Obsolete. Returns documents matching ![]() query ![]() sort |
![]() | Search(Query, Int32) | Finds the top ![]() n ![]() query |
![]() | Search(Query, Filter, Collector) | Lower-level search API.
{@link Collector#Collect(int)} is called for every matching
document.
Collector-based access to remote indexes is discouraged. Applications should only use this if they need all of the matching documents. The high-level search API ({@link Searcher#Search(Query, Filter, int)}) is usually more efficient, as it skips non-high-scoring hits. |
![]() | Search(Query, Filter, HitCollector) | Obsolete. Lower-level search API.
{@link HitCollector#Collect(int,float)} is called for every matching
document.
HitCollector-based access to remote indexes is discouraged. Applications should only use this if they need all of the matching documents. The high-level search API ({@link Searcher#Search(Query, Filter, int)}) is usually more efficient, as it skips non-high-scoring hits. |
![]() | Search(Query, Filter, Sort) | Obsolete. Returns documents matching ![]() query ![]() filter ![]() sort |
![]() | Search(Query, Filter, Int32) | Finds the top ![]() n ![]() query ![]() filter |
![]() | Search(Weight, Filter, Collector) | |
![]() | Search(Weight, Filter, HitCollector) | Obsolete. |
![]() | Search(Weight, Filter, Int32) | |
![]() | Search(Query, Filter, Int32, Sort) | Search implementation with arbitrary sorting. Finds
the top ![]() n ![]() query ![]() filter ![]() sort |
![]() | Search(Weight, Filter, Int32, Sort) | |
![]() | SetSimilarity | Expert: Set the Similarity implementation used by this Searcher.
|
![]() | ToString | (Inherited from Object.) |