Method Merge
Merge(MergeState)
Merges in the term vectors from the readers in
mergeState
. The default implementation skips
over deleted documents, and uses StartDocument(Int32),
StartField(FieldInfo, Int32, Boolean, Boolean, Boolean),
StartTerm(BytesRef, Int32), AddPosition(Int32, Int32, Int32, BytesRef),
and Finish(FieldInfos, Int32),
returning the number of documents that were written.
Implementations can override this method for more sophisticated
merging (bulk-byte copying, etc).
Declaration
public virtual int Merge(MergeState mergeState)
Parameters
Returns
Type |
Description |
System.Int32 |
|