Class PostFilterQuery

  • All Implemented Interfaces:
    org.apache.solr.search.ExtendedQuery, org.apache.solr.search.PostFilter

    public class PostFilterQuery
    extends org.apache.lucene.search.Query
    implements org.apache.solr.search.PostFilter
    • Constructor Summary

      Constructors 
      Constructor Description
      PostFilterQuery​(int cost, org.apache.lucene.search.Query query)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      boolean getCache()  
      boolean getCacheSep()  
      int getCost()  
      org.apache.solr.search.DelegatingCollector getFilterCollector​(org.apache.lucene.search.IndexSearcher searcher)  
      int hashCode()  
      void setCache​(boolean cache)  
      void setCacheSep​(boolean cacheSep)  
      void setCost​(int cost)  
      java.lang.String toString​(java.lang.String s)  
      • 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
    • Constructor Detail

      • PostFilterQuery

        public PostFilterQuery​(int cost,
                               org.apache.lucene.search.Query query)
    • Method Detail

      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class org.apache.lucene.search.Query
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in class org.apache.lucene.search.Query
      • getCost

        public int getCost()
        Specified by:
        getCost in interface org.apache.solr.search.ExtendedQuery
      • setCost

        public void setCost​(int cost)
        Specified by:
        setCost in interface org.apache.solr.search.ExtendedQuery
      • getCache

        public boolean getCache()
        Specified by:
        getCache in interface org.apache.solr.search.ExtendedQuery
      • setCache

        public void setCache​(boolean cache)
        Specified by:
        setCache in interface org.apache.solr.search.ExtendedQuery
      • getCacheSep

        public boolean getCacheSep()
        Specified by:
        getCacheSep in interface org.apache.solr.search.ExtendedQuery
      • setCacheSep

        public void setCacheSep​(boolean cacheSep)
        Specified by:
        setCacheSep in interface org.apache.solr.search.ExtendedQuery
      • toString

        public java.lang.String toString​(java.lang.String s)
        Specified by:
        toString in class org.apache.lucene.search.Query
      • getFilterCollector

        public org.apache.solr.search.DelegatingCollector getFilterCollector​(org.apache.lucene.search.IndexSearcher searcher)
        Specified by:
        getFilterCollector in interface org.apache.solr.search.PostFilter