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 <[email protected]>
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());
             }
         }

Reply via email to