Class HibernateSearchKnnVectorsFormat
java.lang.Object
org.apache.lucene.codecs.KnnVectorsFormat
org.hibernate.search.backend.lucene.lowlevel.codec.impl.HibernateSearchKnnVectorsFormat
- All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI
public class HibernateSearchKnnVectorsFormat
extends org.apache.lucene.codecs.KnnVectorsFormat
-
Field Summary
FieldsFields inherited from class org.apache.lucene.codecs.KnnVectorsFormat
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionHibernateSearchKnnVectorsFormat(int m, int efConstruction) HibernateSearchKnnVectorsFormat(org.apache.lucene.codecs.KnnVectorsFormat delegate, int m, int efConstruction) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.lucene.codecs.KnnVectorsFormatorg.apache.lucene.codecs.KnnVectorsFormatdelegate()booleanorg.apache.lucene.codecs.KnnVectorsReaderfieldsReader(org.apache.lucene.index.SegmentReadState state) org.apache.lucene.codecs.KnnVectorsWriterfieldsWriter(org.apache.lucene.index.SegmentWriteState state) intgetMaxDimensions(String fieldName) inthashCode()toString()Methods inherited from class org.apache.lucene.codecs.KnnVectorsFormat
availableKnnVectorsFormats, forName, getName, reloadKnnVectorsFormat
-
Field Details
-
DEFAULT_MAX_DIMENSIONS
public static final int DEFAULT_MAX_DIMENSIONS- See Also:
-
-
Constructor Details
-
HibernateSearchKnnVectorsFormat
public HibernateSearchKnnVectorsFormat() -
HibernateSearchKnnVectorsFormat
public HibernateSearchKnnVectorsFormat(int m, int efConstruction) -
HibernateSearchKnnVectorsFormat
public HibernateSearchKnnVectorsFormat(org.apache.lucene.codecs.KnnVectorsFormat delegate, int m, int efConstruction)
-
-
Method Details
-
defaultFormat
public static org.apache.lucene.codecs.KnnVectorsFormat defaultFormat() -
fieldsWriter
public org.apache.lucene.codecs.KnnVectorsWriter fieldsWriter(org.apache.lucene.index.SegmentWriteState state) throws IOException - Specified by:
fieldsWriterin classorg.apache.lucene.codecs.KnnVectorsFormat- Throws:
IOException
-
fieldsReader
public org.apache.lucene.codecs.KnnVectorsReader fieldsReader(org.apache.lucene.index.SegmentReadState state) throws IOException - Specified by:
fieldsReaderin classorg.apache.lucene.codecs.KnnVectorsFormat- Throws:
IOException
-
getMaxDimensions
- Overrides:
getMaxDimensionsin classorg.apache.lucene.codecs.KnnVectorsFormat
-
delegate
public org.apache.lucene.codecs.KnnVectorsFormat delegate() -
equals
-
hashCode
public int hashCode() -
toString
-