Class QueryResultKey

java.lang.Object
org.apache.solr.search.QueryResultKey
All Implemented Interfaces:
org.apache.lucene.util.Accountable

public final class QueryResultKey extends Object implements org.apache.lucene.util.Accountable
A hash key encapsulating a query, a list of filters, and a sort
  • Field Summary

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

    NULL_ACCOUNTABLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    QueryResultKey(org.apache.lucene.search.Query query, List<org.apache.lucene.search.Query> filters, org.apache.lucene.search.Sort sort, int nc_flags)
     
    QueryResultKey(org.apache.lucene.search.Query query, List<org.apache.lucene.search.Query> filters, org.apache.lucene.search.Sort sort, int nc_flags, int minExactCount)
     
    QueryResultKey(org.apache.lucene.search.Query query, List<org.apache.lucene.search.Query> filters, org.apache.lucene.search.Sort sort, int nc_flags, int minExactCount, boolean distribStatsDisabled)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    long
     

    Methods inherited from class java.lang.Object

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

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

    getChildResources
  • Constructor Details

    • QueryResultKey

      public QueryResultKey(org.apache.lucene.search.Query query, List<org.apache.lucene.search.Query> filters, org.apache.lucene.search.Sort sort, int nc_flags)
    • QueryResultKey

      public QueryResultKey(org.apache.lucene.search.Query query, List<org.apache.lucene.search.Query> filters, org.apache.lucene.search.Sort sort, int nc_flags, int minExactCount)
    • QueryResultKey

      public QueryResultKey(org.apache.lucene.search.Query query, List<org.apache.lucene.search.Query> filters, org.apache.lucene.search.Sort sort, int nc_flags, int minExactCount, boolean distribStatsDisabled)
  • Method Details

    • hashCode

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

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

      public long ramBytesUsed()
      Specified by:
      ramBytesUsed in interface org.apache.lucene.util.Accountable