merge

open override fun merge(mergeState: MergeState): Int

Merges in the term vectors from the readers in mergeState. The default implementation skips over deleted documents, and uses .startDocument, .startField, .startTerm, .addPosition, and .finish, returning the number of documents that were written. Implementations can override this method for more sophisticated merging (bulk-byte copying, etc).