Package org.elasticsearch.index.mapper
Interface PerFieldKnnVectorsFormatFieldMapper
public interface PerFieldKnnVectorsFormatFieldMapper
Field mapper used for the only purpose to provide a custom knn vectors format.
For internal use only.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.codecs.KnnVectorsFormat
Returns the knn vectors format that is customly set up for this field ornull
if the format is not set up.
-
Method Details
-
getKnnVectorsFormatForField
org.apache.lucene.codecs.KnnVectorsFormat getKnnVectorsFormatForField()Returns the knn vectors format that is customly set up for this field ornull
if the format is not set up.- Returns:
- the knn vectors format for the field, or
null
if the default format should be used
-