diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 6db4714c4bd..833b489cf46 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -164,6 +164,8 @@ Other Changes * SOLR-13680: Use try-with-resource to close the closeable resource (Furkan KAMACI, Munendra S N) +* SOLR-13573: Add SolrRangeQuery getters for upper, lower bound (Brian Rhees via Jason Gerlowski) + ================== 8.2.0 ================== Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release. diff --git a/solr/core/src/java/org/apache/solr/query/SolrRangeQuery.java b/solr/core/src/java/org/apache/solr/query/SolrRangeQuery.java index f1f7dd51ab0..70dbab46eeb 100644 --- a/solr/core/src/java/org/apache/solr/query/SolrRangeQuery.java +++ b/solr/core/src/java/org/apache/solr/query/SolrRangeQuery.java @@ -80,6 +80,9 @@ public final class SolrRangeQuery extends ExtendedQueryBase implements DocSetPro return field; } + public BytesRef getLower() { return lower; } + public BytesRef getUpper() { return upper; } + public boolean includeLower() { return (flags & FLAG_INC_LOWER) != 0; }