FieldSchema
A schema of the field in the current document. With every new document this schema is reset. As the document fields are processed, we update the schema with options encountered in this document. Once the processing for the document is done, we compare the built schema of the current document with the corresponding FieldInfo (FieldInfo is built on a first document in the segment where we encounter this field). If there is inconsistency, we raise an error. This ensures that a field has the same data structures across all documents.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setIndexOptions(newIndexOptions: IndexOptions, newOmitNorms: Boolean, newStoreTermVector: Boolean)
Link copied to clipboard
fun setVectors(encoding: VectorEncoding, similarityFunction: VectorSimilarityFunction, dimension: Int)
Link copied to clipboard