Method Merge
Merge(MergeState)
Merges in the stored fields from the readers in
mergeState
. The default implementation skips
over deleted documents, and uses StartDocument(Int32),
WriteField(FieldInfo, IIndexableField), 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
Type | Name | Description |
---|---|---|
MergeState | mergeState |
Returns
Type | Description |
---|---|
System.Int32 |