writeStoredMeta

fun writeStoredMeta(directMonotonicBlockShift: Int, outputMeta: IndexOutput, vectorData: IndexOutput, count: Int, maxDoc: Int, docsWithField: DocsWithFieldSet)

Writes out the docsWithField and ordToDoc mapping to the outputMeta and vectorData respectively. This is in adherence to the Lucene95HnswVectorsFormat.

Within outputMeta the format is as follows:

Within the vectorData the format is as follows:

Parameters

outputMeta

the outputMeta

vectorData

the vectorData

count

the count of docs with vectors

maxDoc

the maxDoc for the index

docsWithField

the docs contaiting a vector field

Throws

IOException

thrown when writing data fails to either output