org.apache.lucene.codecs.TermVectorsWriter.merge()
Merges in the term vectors from the readers in mergeState
. The default implementation skips over deleted documents, and uses {@link #startDocument(int)}, {@link #startField(FieldInfo,int,boolean,boolean,boolean)}, {@link #startTerm(BytesRef,int)}, {@link #addPosition(int,int,int,BytesRef)}, and {@link #finish(FieldInfos,int)}, returning the number of documents that were written. Implementations can override this method for more sophisticated merging (bulk-byte copying, etc).