Class ES813Int8FlatVectorFormat.ES813FlatVectorReader

java.lang.Object
org.apache.lucene.codecs.KnnVectorsReader
org.elasticsearch.index.codec.vectors.ES813Int8FlatVectorFormat.ES813FlatVectorReader
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
ES813Int8FlatVectorFormat

public static class ES813Int8FlatVectorFormat.ES813FlatVectorReader extends org.apache.lucene.codecs.KnnVectorsReader
  • Constructor Summary

    Constructors
    Constructor
    Description
    ES813FlatVectorReader(org.apache.lucene.codecs.hnsw.FlatVectorsReader reader)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    org.apache.lucene.index.ByteVectorValues
     
    org.apache.lucene.index.FloatVectorValues
     
    void
    search(String field, byte[] target, org.apache.lucene.search.KnnCollector knnCollector, org.apache.lucene.util.Bits acceptDocs)
     
    void
    search(String field, float[] target, org.apache.lucene.search.KnnCollector knnCollector, org.apache.lucene.util.Bits acceptDocs)
     

    Methods inherited from class org.apache.lucene.codecs.KnnVectorsReader

    finishMerge, getMergeInstance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ES813FlatVectorReader

      public ES813FlatVectorReader(org.apache.lucene.codecs.hnsw.FlatVectorsReader reader)
  • Method Details

    • checkIntegrity

      public void checkIntegrity() throws IOException
      Specified by:
      checkIntegrity in class org.apache.lucene.codecs.KnnVectorsReader
      Throws:
      IOException
    • getFloatVectorValues

      public org.apache.lucene.index.FloatVectorValues getFloatVectorValues(String field) throws IOException
      Specified by:
      getFloatVectorValues in class org.apache.lucene.codecs.KnnVectorsReader
      Throws:
      IOException
    • getByteVectorValues

      public org.apache.lucene.index.ByteVectorValues getByteVectorValues(String field) throws IOException
      Specified by:
      getByteVectorValues in class org.apache.lucene.codecs.KnnVectorsReader
      Throws:
      IOException
    • search

      public void search(String field, float[] target, org.apache.lucene.search.KnnCollector knnCollector, org.apache.lucene.util.Bits acceptDocs) throws IOException
      Specified by:
      search in class org.apache.lucene.codecs.KnnVectorsReader
      Throws:
      IOException
    • search

      public void search(String field, byte[] target, org.apache.lucene.search.KnnCollector knnCollector, org.apache.lucene.util.Bits acceptDocs) throws IOException
      Specified by:
      search in class org.apache.lucene.codecs.KnnVectorsReader
      Throws:
      IOException
    • close

      public void close() throws IOException
      Throws:
      IOException