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 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:
      fieldsWriter in class org.apache.lucene.codecs.KnnVectorsFormat
      Throws:
      IOException
    • fieldsReader

      public org.apache.lucene.codecs.KnnVectorsReader fieldsReader(org.apache.lucene.index.SegmentReadState state) throws IOException
      Specified by:
      fieldsReader in class org.apache.lucene.codecs.KnnVectorsFormat
      Throws:
      IOException
    • getMaxDimensions

      public int getMaxDimensions(String fieldName)
      Overrides:
      getMaxDimensions in class org.apache.lucene.codecs.KnnVectorsFormat
    • delegate

      public org.apache.lucene.codecs.KnnVectorsFormat delegate()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object