You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2015/03/20 22:22:40 UTC
[08/29] incubator-usergrid git commit: add delete back
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-405
Commit: 5ea81945bb821e136eb7c7fdf46e5393d7acfbd6
Parents: a87ca3a
Author: Shawn Feldman <sf...@apache.org>
Authored: Wed Mar 18 17:46:01 2015 -0600
Committer: Shawn Feldman <sf...@apache.org>
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);