You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ge...@apache.org on 2019/08/11 13:16:56 UTC
[lucene-solr] branch branch_8x updated: SOLR-13573: Add
SolrRangeQuery getters for bounds
This is an automated email from the ASF dual-hosted git repository.
gerlowskija pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new a50927b SOLR-13573: Add SolrRangeQuery getters for bounds
a50927b is described below
commit a50927bac0642d7e2302f5218a21b228f2a61ad0
Author: Jason Gerlowski <ge...@apache.org>
AuthorDate: Sat Aug 10 07:16:19 2019 -0400
SOLR-13573: Add SolrRangeQuery getters for bounds
---
solr/CHANGES.txt | 2 ++
solr/core/src/java/org/apache/solr/query/SolrRangeQuery.java | 3 +++
2 files changed, 5 insertions(+)
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 39ed478..491fdc0 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -112,6 +112,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 49e44d9..8389d4e 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;
}