Class SolrRangeQuery

    • Constructor Detail

      • SolrRangeQuery

        public SolrRangeQuery​(String field,
                              org.apache.lucene.util.BytesRef lower,
                              org.apache.lucene.util.BytesRef upper,
                              boolean includeLower,
                              boolean includeUpper)
    • Method Detail

      • getField

        public String getField()
      • getLower

        public org.apache.lucene.util.BytesRef getLower()
      • getUpper

        public org.apache.lucene.util.BytesRef getUpper()
      • includeLower

        public boolean includeLower()
      • includeUpper

        public boolean includeUpper()
      • hashCode

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

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

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

        public org.apache.lucene.search.Query rewrite​(org.apache.lucene.index.IndexReader reader)
                                               throws IOException
        Overrides:
        rewrite in class org.apache.lucene.search.Query
        Throws:
        IOException
      • 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
      • getTermsEnum

        public org.apache.lucene.index.TermsEnum getTermsEnum​(org.apache.lucene.index.LeafReaderContext ctx)
                                                       throws IOException
        Throws:
        IOException