Class AbstractAuthorityQuery

    • Field Detail

      • authority

        protected final String authority
    • Constructor Detail

      • AbstractAuthorityQuery

        public AbstractAuthorityQuery​(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 IOException
        Overrides:
        createWeight in class org.apache.lucene.search.Query
        Throws:
        IOException
      • toString

        public String toString​(String field)
        Specified by:
        toString in class org.apache.lucene.search.Query
      • equals

        public boolean equals​(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