This is an automated email from the ASF dual-hosted git repository.

sarath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new c9becac  ATLAS-3345: AggregationMetrics on quick search is empty
c9becac is described below

commit c9becac21d60b0056dbebc4a1335151619be6d81
Author: Sarath Subramanian <[email protected]>
AuthorDate: Mon Jul 22 15:00:00 2019 -0700

    ATLAS-3345: AggregationMetrics on quick search is empty
---
 .../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 c37b381..cc1546d 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());
             }
         }

Reply via email to