Adds a Scorer to the ScorerDocQueue in log(size) time if either the ScorerDocQueue is not full, or not lessThan(scorer, top()).

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

Syntax

C#
public virtual bool Insert(
	Scorer scorer
)
Visual Basic
Public Overridable Function Insert ( _
	scorer As Scorer _
) As Boolean
Visual C++
public:
virtual bool Insert(
	Scorer^ scorer
)

Parameters

scorer
Type: Lucene.Net.Search..::..Scorer

[Missing <param name="scorer"/> documentation for "M:Lucene.Net.Util.ScorerDocQueue.Insert(Lucene.Net.Search.Scorer)"]

Return Value

true if scorer is added, false otherwise.

See Also