Overload List

  NameDescription
Public methodSearch(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.

Public methodSearch(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.

Public methodSearch(Weight, Filter, Int32)
Expert: Low-level search implementation. Finds the top
CopyC#
n
hits for
CopyC#
query
, applying
CopyC#
filter
if non-null.

Called by {@link Hits}.

Applications should usually call {@link Searcher#Search(Query)} or {@link Searcher#Search(Query,Filter)} instead.

Public methodSearch(Weight, Filter, Int32, Sort)
Expert: Low-level search implementation with arbitrary sorting. Finds the top
CopyC#
n
hits for
CopyC#
query
, applying
CopyC#
filter
if non-null, and sorting the hits by the criteria in
CopyC#
sort
.

Applications should usually call {@link Searcher#Search(Query,Filter,int,Sort)} instead.

See Also