You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2019/07/22 23:32:51 UTC
[atlas] branch branch-2.0 updated: ATLAS-3345: AggregationMetrics
on quick search is empty
This is an automated email from the ASF dual-hosted git repository.
sarath 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 6741d9a ATLAS-3345: AggregationMetrics on quick search is empty
6741d9a is described below
commit 6741d9af5e467a83ccf439ae97570b67608bf134
Author: Sarath Subramanian <sa...@apache.org>
AuthorDate: Mon Jul 22 15:00:00 2019 -0700
ATLAS-3345: AggregationMetrics on quick search is empty
(cherry picked from commit c9becac21d60b0056dbebc4a1335151619be6d81)
---
.../org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java b/repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java
index df4356f..f4f8276 100755
--- a/repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java
+++ b/repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java
@@ -400,6 +400,8 @@ public class GraphBackedSearchIndexer implements SearchIndexer, ActiveStateChang
baseInstance.setIndexFieldName(indexFieldName);
}
+ typeRegistry.addIndexFieldName(attribute.getVertexPropertyName(), indexFieldName);
+
LOG.info("Property {} is mapped to index field name {}", attribute.getQualifiedName(), attribute.getIndexFieldName());
}
}