Class FilterByteVectorValues

java.lang.Object
org.apache.lucene.index.KnnVectorValues
org.apache.lucene.index.ByteVectorValues
org.elasticsearch.search.internal.FilterByteVectorValues

public abstract class FilterByteVectorValues extends org.apache.lucene.index.ByteVectorValues
A wrapper on ByteVectorValues.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.lucene.index.KnnVectorValues

    org.apache.lucene.index.KnnVectorValues.DocIndexIterator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.lucene.index.ByteVectorValues
    Wrapped values
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    FilterByteVectorValues(org.apache.lucene.index.ByteVectorValues in)
    Sole constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.apache.lucene.index.ByteVectorValues
     
    int
     
    org.apache.lucene.util.Bits
    getAcceptOrds(org.apache.lucene.util.Bits acceptDocs)
     
    org.apache.lucene.index.KnnVectorValues.DocIndexIterator
     
    int
    ordToDoc(int ord)
     
    org.apache.lucene.search.VectorScorer
    scorer(byte[] target)
     
    int
     
    byte[]
    vectorValue(int ord)
     

    Methods inherited from class org.apache.lucene.index.ByteVectorValues

    checkField, fromBytes, getEncoding, rescorer

    Methods inherited from class org.apache.lucene.index.KnnVectorValues

    createDenseIterator, createSparseIterator, fromDISI, getVectorByteLength

    Methods inherited from class java.lang.Object

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

    • in

      protected final org.apache.lucene.index.ByteVectorValues in
      Wrapped values
  • Constructor Details

    • FilterByteVectorValues

      protected FilterByteVectorValues(org.apache.lucene.index.ByteVectorValues in)
      Sole constructor
  • Method Details

    • iterator

      public org.apache.lucene.index.KnnVectorValues.DocIndexIterator iterator()
      Overrides:
      iterator in class org.apache.lucene.index.KnnVectorValues
    • vectorValue

      public byte[] vectorValue(int ord) throws IOException
      Specified by:
      vectorValue in class org.apache.lucene.index.ByteVectorValues
      Throws:
      IOException
    • copy

      public abstract org.apache.lucene.index.ByteVectorValues copy() throws IOException
      Specified by:
      copy in class org.apache.lucene.index.ByteVectorValues
      Throws:
      IOException
    • dimension

      public int dimension()
      Specified by:
      dimension in class org.apache.lucene.index.KnnVectorValues
    • size

      public int size()
      Specified by:
      size in class org.apache.lucene.index.KnnVectorValues
    • scorer

      public org.apache.lucene.search.VectorScorer scorer(byte[] target) throws IOException
      Overrides:
      scorer in class org.apache.lucene.index.ByteVectorValues
      Throws:
      IOException
    • ordToDoc

      public int ordToDoc(int ord)
      Overrides:
      ordToDoc in class org.apache.lucene.index.KnnVectorValues
    • getAcceptOrds

      public org.apache.lucene.util.Bits getAcceptOrds(org.apache.lucene.util.Bits acceptDocs)
      Overrides:
      getAcceptOrds in class org.apache.lucene.index.KnnVectorValues