Interface PropertyMappingVectorFieldOptionsStep
- All Superinterfaces:
PropertyMappingFieldOptionsStep<PropertyMappingVectorFieldOptionsStep>, PropertyMappingStep
@Incubating
public interface PropertyMappingVectorFieldOptionsStep
extends PropertyMappingFieldOptionsStep<PropertyMappingVectorFieldOptionsStep>
The step in a property-to-index-field mapping where optional parameters can be set,
when the index field is a vector field.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionefConstruction(int efConstruction) indexNullAs(String indexNullAs) m(int m) projectable(org.hibernate.search.engine.backend.types.Projectable projectable) searchable(org.hibernate.search.engine.backend.types.Searchable searchable) vectorSimilarity(org.hibernate.search.engine.backend.types.VectorSimilarity vectorSimilarity) Methods inherited from interface PropertyMappingFieldOptionsStep
extractor, extractors, noExtractors, valueBinder, valueBinder, valueBridge, valueBridge, valueBridgeMethods inherited from interface PropertyMappingStep
associationInverseSide, binder, binder, documentId, fullTextField, fullTextField, genericField, genericField, hostingType, indexedEmbedded, indexedEmbedded, indexingDependency, keywordField, keywordField, marker, marker, nonStandardField, nonStandardField, scaledNumberField, scaledNumberField, vectorField, vectorField, vectorField, vectorField
-
Method Details
-
projectable
PropertyMappingVectorFieldOptionsStep projectable(org.hibernate.search.engine.backend.types.Projectable projectable) - Parameters:
projectable- Whether this field should be projectable.- Returns:
this, for method chaining.- See Also:
-
searchable
PropertyMappingVectorFieldOptionsStep searchable(org.hibernate.search.engine.backend.types.Searchable searchable) - Parameters:
searchable- Whether this field should be searchable.- Returns:
this, for method chaining.- See Also:
-
vectorSimilarity
PropertyMappingVectorFieldOptionsStep vectorSimilarity(org.hibernate.search.engine.backend.types.VectorSimilarity vectorSimilarity) - Parameters:
vectorSimilarity- method of calculating the vector similarity, i.e. distance between vectors.- Returns:
this, for method chaining.- See Also:
-
efConstruction
- Parameters:
efConstruction- The size of the dynamic list used during k-NN graph creation.- Returns:
this, for method chaining.- See Also:
-
m
- Parameters:
m- The number of neighbors each node will be connected to in the HNSW graph.- Returns:
this, for method chaining.- See Also:
-
indexNullAs
- Parameters:
indexNullAs- A value used instead of null values when indexing.- Returns:
this, for method chaining.- See Also:
-