Uses of Enum
org.apache.lucene.index.VectorEncoding
Packages that use VectorEncoding
Package
Description
Lucene 9.5 file format.
The logical representation of a
Document for indexing and
searching.Code to maintain and access indices.
-
Uses of VectorEncoding in org.apache.lucene.codecs.lucene95
Methods in org.apache.lucene.codecs.lucene95 with parameters of type VectorEncodingModifier and TypeMethodDescriptionstatic OffHeapByteVectorValuesOffHeapByteVectorValues.load(OrdToDocDISIReaderConfiguration configuration, VectorEncoding vectorEncoding, int dimension, long vectorDataOffset, long vectorDataLength, IndexInput vectorData) static OffHeapFloatVectorValuesOffHeapFloatVectorValues.load(OrdToDocDISIReaderConfiguration configuration, VectorEncoding vectorEncoding, int dimension, long vectorDataOffset, long vectorDataLength, IndexInput vectorData) -
Uses of VectorEncoding in org.apache.lucene.document
Methods in org.apache.lucene.document that return VectorEncodingMethods in org.apache.lucene.document with parameters of type VectorEncodingModifier and TypeMethodDescriptionvoidFieldType.setVectorAttributes(int numDimensions, VectorEncoding encoding, VectorSimilarityFunction similarity) Enable vector indexing, with the specified number of dimensions and distance function. -
Uses of VectorEncoding in org.apache.lucene.index
Methods in org.apache.lucene.index that return VectorEncodingModifier and TypeMethodDescriptionFieldInfo.getVectorEncoding()Returns the number of dimensions of the vector valuestatic VectorEncodingReturns the enum constant of this type with the specified name.static VectorEncoding[]VectorEncoding.values()Returns an array containing the constants of this enum type, in the order they are declared.IndexableFieldType.vectorEncoding()TheVectorEncodingof the field's vector valueConstructors in org.apache.lucene.index with parameters of type VectorEncodingModifierConstructorDescriptionFieldInfo(String name, int number, boolean storeTermVector, boolean omitNorms, boolean storePayloads, IndexOptions indexOptions, DocValuesType docValues, long dvGen, Map<String, String> attributes, int pointDimensionCount, int pointIndexDimensionCount, int pointNumBytes, int vectorDimension, VectorEncoding vectorEncoding, VectorSimilarityFunction vectorSimilarityFunction, boolean softDeletesField) Sole constructor.