Github user tnine commented on a diff in the pull request:
https://github.com/apache/incubator-usergrid/pull/161#discussion_r25295392
--- Diff:
stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexBatchImpl.java
---
@@ -228,58 +217,29 @@ public EntityIndexBatch deindex( final IndexScope
indexScope, final CandidateRes
@Override
public void execute() {
- execute( bulkRequest.setRefresh( refresh ) );
+// indexBatchBuffer.flush();
+ Observable.from(promises)
--- End diff --
See previous comment. I think you can just do
```
Observable.from(promises).toBlocking().lastOrDefault(null)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---