Method AddProx
AddProx(Int32, DataInput, DataInput)
Called by IndexWriter when writing new segments.
This is an expert API that allows the codec to consume positions and offsets directly from the indexer.
The default implementation calls AddPosition(Int32, Int32, Int32, BytesRef), but subclasses can override this if they want to efficiently write all the positions, then all the offsets, for example.
NOTE: this API is extremely expert and subject to change or removal!!!
@lucene.internal
Declaration
public virtual void AddProx(int numProx, DataInput positions, DataInput offsets)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | numProx | |
DataInput | positions | |
DataInput | offsets |