You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2014/12/10 01:17:39 UTC

[03/13] incubator-usergrid git commit: get indexes for alias

get indexes for alias


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/4d04da8e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/4d04da8e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/4d04da8e

Branch: refs/heads/two-dot-o
Commit: 4d04da8e58eff556e2f1aab1dbdc9b6c7eb1f740
Parents: 7e34742
Author: Shawn Feldman <sf...@apache.org>
Authored: Mon Dec 8 08:51:47 2014 -0700
Committer: Shawn Feldman <sf...@apache.org>
Committed: Mon Dec 8 08:51:47 2014 -0700

----------------------------------------------------------------------
 .../usergrid/persistence/index/impl/EsEntityIndexImpl.java      | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4d04da8e/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
index 610fe6c..5824c38 100644
--- a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
+++ b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
@@ -203,6 +203,11 @@ public class EsEntityIndexImpl implements EntityIndex {
         return getIndexes(aliasName);
     }
 
+    /**
+     * get indexes for alias
+     * @param aliasName
+     * @return
+     */
     private String[] getIndexes(final String aliasName){
         final AdminClient adminClient = esProvider.getClient().admin();
         //remove write alias, can only have one