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 ![]() i |
![]() | Doc(Int32, FieldSelector) | Get the {@link Lucene.Net.Documents.Document} at the ![]() n ![]() FieldsReader |
![]() | DocFreq | Expert: Returns the number of documents containing ![]() term |
![]() | DocFreqs | Expert: For each term in the terms array, calculates the number of
documents containing ![]() term |
![]() | Explain | Expert: low-level implementation method
Returns an Explanation that describes how ![]() doc ![]() 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 ![]() n ![]() query ![]() filter |
![]() | Search(Weight, Filter, Int32, Sort) | Expert: Low-level search implementation with arbitrary sorting. Finds
the top ![]() n ![]() query ![]() filter ![]() sort |