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 passed to this method is a raw score.
In other words, the score will not necessarily be a float whose value is
between 0 and 1.
Namespace: Lucene.Net.SearchCopyC#
score
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void Search( Query query, Collector results ) |
Visual Basic |
---|
Public Overridable Sub Search ( _ query As Query, _ results As Collector _ ) |
Visual C++ |
---|
public: virtual void Search( Query^ query, Collector^ results ) |
Parameters
- query
- Type: Lucene.Net.Search..::..Query
[Missing <param name="query"/> documentation for "M:Lucene.Net.Search.Searcher.Search(Lucene.Net.Search.Query,Lucene.Net.Search.Collector)"]
- results
- Type: Lucene.Net.Search..::..Collector
[Missing <param name="results"/> documentation for "M:Lucene.Net.Search.Searcher.Search(Lucene.Net.Search.Query,Lucene.Net.Search.Collector)"]