Uses of Enum Class
org.apache.lucene.index.VectorEncoding
Packages that use VectorEncoding
Package
Description
Lucene 9.5 file format.
Lucene 9.9 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(VectorSimilarityFunction vectorSimilarityFunction, FlatVectorsScorer flatVectorsScorer, OrdToDocDISIReaderConfiguration configuration, VectorEncoding vectorEncoding, int dimension, long vectorDataOffset, long vectorDataLength, IndexInput vectorData) static OffHeapFloatVectorValuesOffHeapFloatVectorValues.load(VectorSimilarityFunction vectorSimilarityFunction, FlatVectorsScorer flatVectorsScorer, OrdToDocDISIReaderConfiguration configuration, VectorEncoding vectorEncoding, int dimension, long vectorDataOffset, long vectorDataLength, IndexInput vectorData) -
Uses of VectorEncoding in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 that return VectorEncodingModifier and TypeMethodDescriptionstatic VectorEncodingLucene99HnswVectorsReader.readVectorEncoding(DataInput input) -
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 TypeMethodDescriptionByteVectorValues.getEncoding()FloatVectorValues.getEncoding()abstract VectorEncodingKnnVectorValues.getEncoding()The vector encoding of these values.FieldInfo.getVectorEncoding()Returns the number of dimensions of the vector valuestatic VectorEncodingReturns the enum constant of this class with the specified name.static VectorEncoding[]VectorEncoding.values()Returns an array containing the constants of this enum class, 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, DocValuesSkipIndexType docValuesSkipIndex, long dvGen, Map<String, String> attributes, int pointDimensionCount, int pointIndexDimensionCount, int pointNumBytes, int vectorDimension, VectorEncoding vectorEncoding, VectorSimilarityFunction vectorSimilarityFunction, boolean softDeletesField, boolean isParentField) Sole constructor.