Class ESDiversifyingChildrenByteKnnVectorQuery

java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.search.KnnByteVectorQuery
org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery
org.elasticsearch.search.vectors.ESDiversifyingChildrenByteKnnVectorQuery
All Implemented Interfaces:
ProfilingQuery

public class ESDiversifyingChildrenByteKnnVectorQuery extends org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery implements ProfilingQuery
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ESDiversifyingChildrenByteKnnVectorQuery(String field, byte[] query, org.apache.lucene.search.Query childFilter, int k, org.apache.lucene.search.join.BitSetProducer parentsFilter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.lucene.search.Query
     
    int
     
    protected org.apache.lucene.search.TopDocs
    mergeLeafResults(org.apache.lucene.search.TopDocs[] perLeafResults)
     
    void
    profile(QueryProfiler queryProfiler)
    Store the profiling information in the QueryProfiler
    org.apache.lucene.search.Query
    rewrite(org.apache.lucene.search.IndexSearcher arg0)
     
    void
    visit(org.apache.lucene.search.QueryVisitor arg0)
     

    Methods inherited from class org.apache.lucene.search.join.DiversifyingChildrenByteKnnVectorQuery

    approximateSearch, equals, exactSearch, getKnnCollectorManager, hashCode, toString

    Methods inherited from class org.apache.lucene.search.KnnByteVectorQuery

    getTargetCopy

    Methods inherited from class org.apache.lucene.search.Query

    classHash, createWeight, rewrite, sameClassAs, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • field

      protected final String field
  • Constructor Details

    • ESDiversifyingChildrenByteKnnVectorQuery

      public ESDiversifyingChildrenByteKnnVectorQuery(String field, byte[] query, org.apache.lucene.search.Query childFilter, int k, org.apache.lucene.search.join.BitSetProducer parentsFilter)
  • Method Details

    • mergeLeafResults

      protected org.apache.lucene.search.TopDocs mergeLeafResults(org.apache.lucene.search.TopDocs[] perLeafResults)
    • profile

      public void profile(QueryProfiler queryProfiler)
      Description copied from interface: ProfilingQuery
      Store the profiling information in the QueryProfiler
      Specified by:
      profile in interface ProfilingQuery
      Parameters:
      queryProfiler - an instance of KnnFloatVectorField.
    • rewrite

      public org.apache.lucene.search.Query rewrite(org.apache.lucene.search.IndexSearcher arg0) throws IOException
      Overrides:
      rewrite in class org.apache.lucene.search.Query
      Throws:
      IOException
    • visit

      public void visit(org.apache.lucene.search.QueryVisitor arg0)
      Specified by:
      visit in class org.apache.lucene.search.Query
    • getField

      public String getField()
    • getK

      public int getK()
    • getFilter

      public org.apache.lucene.search.Query getFilter()