Expert: Collects matching documents in a range. Hook for optimization. Note that {@link #Next()} must be called once before this method is called for the first time.

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

Syntax

C#
[ObsoleteAttribute("use Score(Collector, int, int) instead")]
protected internal virtual bool Score(
	HitCollector hc,
	int max
)
Visual Basic
<ObsoleteAttribute("use Score(Collector, int, int) instead")> _
Protected Friend Overridable Function Score ( _
	hc As HitCollector, _
	max As Integer _
) As Boolean
Visual C++
[ObsoleteAttribute(L"use Score(Collector, int, int) instead")]
protected public:
virtual bool Score(
	HitCollector^ hc, 
	int max
)

Parameters

hc
Type: Lucene.Net.Search..::..HitCollector
The collector to which all matching documents are passed through {@link HitCollector#Collect(int, float)}.
max
Type: System..::..Int32
Do not score documents past this.

Return Value

true if more matching documents may remain.

See Also