Class AbstractAuthorityQuery

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String authority  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractAuthorityQuery​(java.lang.String authority)
      Construct with authority.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract org.apache.lucene.search.Weight createWeight​(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores)  
      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
    • Field Detail

      • authority

        protected final java.lang.String authority
    • Constructor Detail

      • AbstractAuthorityQuery

        public AbstractAuthorityQuery​(java.lang.String authority)
        Construct with authority.
        Parameters:
        authority -
    • Method Detail

      • createWeight

        public abstract org.apache.lucene.search.Weight createWeight​(org.apache.lucene.search.IndexSearcher searcher,
                                                                     boolean needsScores)
                                                              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