This is an automated email from the ASF dual-hosted git repository.
pinal pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 48d4e79 ATLAS-4182 : Quick Search: Incorrect aggregation Metric when
less than operator is selected to filter
48d4e79 is described below
commit 48d4e79a055ebc3e5df954af60ac046ab60da313
Author: Pinal <pinal-shah>
AuthorDate: Tue Mar 2 10:44:50 2021 +0530
ATLAS-4182 : Quick Search: Incorrect aggregation Metric when less than
operator is selected to filter
Signed-off-by: Pinal <pinal-shah>
---
.../apache/atlas/repository/graphdb/janus/AtlasSolrQueryBuilder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasSolrQueryBuilder.java
b/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasSolrQueryBuilder.java
index 5712fd3..1dd8be7 100644
---
a/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasSolrQueryBuilder.java
+++
b/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasSolrQueryBuilder.java
@@ -381,7 +381,7 @@ public class AtlasSolrQueryBuilder {
//[ == inclusive
//} == exclusive
//+__timestamp_l:[* TO <attributeValue>}
- queryBuilder.append("+").append(indexFieldName).append(":[ *
TO").append(attributeValue).append("} ");
+ queryBuilder.append("+").append(indexFieldName).append(":[ * TO
").append(attributeValue).append("} ");
}
private void withLessthanOrEqual(StringBuilder queryBuilder, String
indexFieldName, String attributeValue) {