Class SolrCachingPathQuery


  • public class SolrCachingPathQuery
    extends org.apache.lucene.search.Query
    Decorator that executes a SolrPathQuery and returns cached results where possible.
    Author:
    Andy
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.lucene.search.Weight createWeight​(org.apache.lucene.search.IndexSearcher indexSearcher, boolean requiresScore)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString​(java.lang.String field)  
      • Methods inherited from class org.apache.lucene.search.Query

        classHash, rewrite, sameClassAs, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SolrCachingPathQuery

        public SolrCachingPathQuery​(SolrPathQuery pathQuery)
    • Method Detail

      • createWeight

        public org.apache.lucene.search.Weight createWeight​(org.apache.lucene.search.IndexSearcher indexSearcher,
                                                            boolean requiresScore)
                                                     throws java.io.IOException
        Overrides:
        createWeight in class org.apache.lucene.search.Query
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString​(java.lang.String field)
        Specified by:
        toString 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
      • hashCode

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