Expert: Collects matching documents in a range. Hook for optimization.
Note, is added to ensure that {@link #NextDoc()}
was called before this method.
Namespace: Lucene.Net.SearchCopyC#
firstDocID
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual bool Score( Collector collector, int max, int firstDocID ) |
Visual Basic |
---|
Public Overridable Function Score ( _ collector As Collector, _ max As Integer, _ firstDocID As Integer _ ) As Boolean |
Visual C++ |
---|
public: virtual bool Score( Collector^ collector, int max, int firstDocID ) |
Parameters
- collector
- Type: Lucene.Net.Search..::..Collector
The collector to which all matching documents are passed.
- max
- Type: System..::..Int32
Do not score documents past this.
- firstDocID
- Type: System..::..Int32
The first document ID (ensures {@link #NextDoc()} is called before this method.