The Searchable type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close | Frees resources associated with this Searcher.
Be careful not to call this method while you are still using objects
like {@link Hits}.
| |
Doc(Int32) | Expert: Returns the stored fields of document CopyC# i | |
Doc(Int32, FieldSelector) | Get the {@link Lucene.Net.Documents.Document} at the CopyC# n CopyC# FieldsReader | |
DocFreq | Expert: Returns the number of documents containing CopyC# term | |
DocFreqs | Expert: For each term in the terms array, calculates the number of
documents containing CopyC# term | |
Explain | Expert: low-level implementation method
Returns an Explanation that describes how CopyC# doc CopyC# weight | |
MaxDoc | Expert: Returns one greater than the largest possible document number.
Called by search code to compute term weights.
| |
Rewrite | Expert: called to re-write queries into primitive queries. | |
Search(Weight, Filter, Collector) | Lower-level search API.
{@link Collector#Collect(int)} is called for every 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)}) is usually more efficient, as it skips non-high-scoring hits. | |
Search(Weight, Filter, HitCollector) | Obsolete. Lower-level search API.
{@link HitCollector#Collect(int,float)} is called for every non-zero
scoring 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)}) is usually more efficient, as it skips non-high-scoring hits. | |
Search(Weight, Filter, Int32) | Expert: Low-level search implementation. Finds the top CopyC# n CopyC# query CopyC# filter | |
Search(Weight, Filter, Int32, Sort) | Expert: Low-level search implementation with arbitrary sorting. Finds
the top CopyC# n CopyC# query CopyC# filter CopyC# sort |