Expert: Common scoring functionality for different types of queries.

A

CopyC#
Scorer
iterates over documents matching a query in increasing order of doc Id.

Document scores are computed using a given

CopyC#
Similarity
implementation.

NOTE: The values Float.Nan, Float.NEGATIVE_INFINITY and Float.POSITIVE_INFINITY are not valid scores. Certain collectors (eg {@link TopScoreDocCollector}) will not properly collect hits with these scores.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public abstract class Scorer : DocIdSetIterator
Visual Basic
Public MustInherit Class Scorer _
	Inherits DocIdSetIterator
Visual C++
public ref class Scorer abstract : public DocIdSetIterator

Inheritance Hierarchy

See Also

[!:BooleanQuery.setAllowDocsOutOfOrder]