Called before collecting from each IndexReader. All doc ids in {@link #Collect(int)} will correspond to reader. Add docBase to the current IndexReaders internal document id to re-base ids in {@link #Collect(int)}.

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

Syntax

C#
public abstract void SetNextReader(
	IndexReader reader,
	int docBase
)
Visual Basic
Public MustOverride Sub SetNextReader ( _
	reader As IndexReader, _
	docBase As Integer _
)
Visual C++
public:
virtual void SetNextReader(
	IndexReader^ reader, 
	int docBase
) abstract

Parameters

reader
Type: Lucene.Net.Index..::..IndexReader
next IndexReader
docBase
Type: System..::..Int32

[Missing <param name="docBase"/> documentation for "M:Lucene.Net.Search.Collector.SetNextReader(Lucene.Net.Index.IndexReader,System.Int32)"]

See Also