mergeOneFieldToIndex
open override fun mergeOneFieldToIndex(fieldInfo: FieldInfo, mergeState: MergeState): CloseableRandomVectorScorerSupplier
Write the field for merging, providing a scorer over the newly merged flat vectors. This way any additional merging logic can be implemented by the user of this class.
Return
a scorer over the newly merged flat vectors, which should be closed as it holds a temporary file handle to read over the newly merged vectors
Parameters
fieldInfo
fieldInfo of the field to merge
mergeState
mergeState of the segments to merge
Throws
IOException
if an I/O error occurs when merging