Class ES813Int8FlatVectorFormat.ES813FlatVectorReader

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

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

    Fields inherited from interface org.apache.lucene.util.Accountable

    NULL_ACCOUNTABLE
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
     
    void
     
    org.apache.lucene.index.ByteVectorValues
     
    org.apache.lucene.index.FloatVectorValues
     
    long
     
    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

    getMergeInstance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.lucene.util.Accountable

    getChildResources
  • Constructor Details

    • ES813FlatVectorReader

      public ES813FlatVectorReader(org.apache.lucene.codecs.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
    • ramBytesUsed

      public long ramBytesUsed()