add delete back
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/5ea81945 Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/5ea81945 Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/5ea81945 Branch: refs/heads/USERGRID-347 Commit: 5ea81945bb821e136eb7c7fdf46e5393d7acfbd6 Parents: a87ca3a Author: Shawn Feldman <[email protected]> Authored: Wed Mar 18 17:46:01 2015 -0600 Committer: Shawn Feldman <[email protected]> Committed: Wed Mar 18 17:46:01 2015 -0600 ---------------------------------------------------------------------- .../apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/5ea81945/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 0ecc31b..f22016e 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 @@ -624,6 +624,8 @@ public class EsEntityIndexImpl implements AliasedEntityIndex { * Completely delete an index. */ public ListenableActionFuture deleteIndex() { + //TODO: add timer + //TODO: add all indexes String idString = IndexingUtils.idString(applicationScope.getApplication()); final TermQueryBuilder tqb = QueryBuilders.termQuery(APPLICATION_ID_FIELDNAME, idString);
