Class HashRangeQuery


  • public class HashRangeQuery
    extends org.apache.lucene.search.Query
    • Field Detail

      • field

        protected final String field
      • lower

        protected final int lower
      • upper

        protected final int upper
    • Constructor Detail

      • HashRangeQuery

        public HashRangeQuery​(String field,
                              int lower,
                              int upper)
    • Method Detail

      • createWeight

        public org.apache.lucene.search.Weight createWeight​(org.apache.lucene.search.IndexSearcher searcher,
                                                            org.apache.lucene.search.ScoreMode scoreMode,
                                                            float boost)
                                                     throws IOException
        Overrides:
        createWeight in class org.apache.lucene.search.Query
        Throws:
        IOException
      • visit

        public void visit​(org.apache.lucene.search.QueryVisitor visitor)
        Specified by:
        visit in class org.apache.lucene.search.Query
      • toString

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

        public boolean equals​(Object other)
        Specified by:
        equals in class org.apache.lucene.search.Query
      • hashCode

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