Method SetNextReader
SetNextReader(IndexReader, Int32)
Called before collecting from each IndexReader. All doc ids in Collect(Int32) will correspond to reader.
Add docBase to the current IndexReaders internal document id to re-base ids in Collect(Int32).
Declaration
public abstract void SetNextReader(IndexReader reader, int docBase)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader | next IndexReader |
System.Int32 | docBase |