SOLR-13573: Add SolrRangeQuery getters for bounds

This commit is contained in:
Jason Gerlowski 2019-08-10 07:16:19 -04:00
parent 9b986d268f
commit 52f1108a0e
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}