Overload List
Name | Description | |
---|---|---|
Search(Query) | Obsolete. Returns the documents matching (Inherited from Searcher.)CopyC# 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 (Inherited from Searcher.)CopyC# score | |
Search(Query, Filter) | Obsolete. Returns the documents matching (Inherited from Searcher.)CopyC# query CopyC# 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 (Inherited from Searcher.)CopyC# score | |
Search(Query, Sort) | Obsolete. Returns documents matching (Inherited from Searcher.)CopyC# query CopyC# sort | |
Search(Query, Int32) | Finds the top (Inherited from Searcher.)CopyC# n CopyC# query | |
Search(Query, Filter, Collector) | Lower-level search API.
{@link Collector#Collect(int)} is called for every matching
document.
(Inherited from Searcher.)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.
(Inherited from Searcher.)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 (Inherited from Searcher.)CopyC# query CopyC# filter CopyC# sort | |
Search(Query, Filter, Int32) | Finds the top (Inherited from Searcher.)CopyC# n CopyC# query CopyC# filter | |
Search(Weight, Filter, Collector) | (Overrides Searcher..::..Search(Weight, Filter, Collector).) | |
Search(Weight, Filter, Int32) | (Overrides Searcher..::..Search(Weight, Filter, Int32).) | |
Search(Weight, Filter, HitCollector) | Obsolete. (Inherited from Searcher.) | |
Search(Query, Filter, Int32, Sort) | Search implementation with arbitrary sorting. Finds
the top (Inherited from Searcher.)CopyC# n CopyC# query CopyC# filter CopyC# sort | |
Search(Weight, Filter, Int32, Sort) | (Overrides Searcher..::..Search(Weight, Filter, Int32, Sort).) | |
Search(Weight, Filter, Int32, Sort, Boolean) | Just like {@link #Search(Weight, Filter, int, Sort)}, but you choose
whether or not the fields in the returned {@link FieldDoc} instances
should be set by specifying fillFields. NOTE: this does not compute scores by default. If you need scores, create a {@link TopFieldCollector} instance by calling {@link TopFieldCollector#create} and then pass that to {@link #Search(Weight, Filter, Collector)}. |