Details
-
Feature Request
-
Resolution: Won't Do
-
Major
-
4.0.0.Beta2
-
None
Description
When I create a new Index on a non empty repository (for instance one with 10k nodes), the IndexManager has to reindex all nodes.
Currently it seems to do that asynchronously even if the new index is defined to be synchronously.
This reindexing seems to be an endless process if during that time queries are made or new nodes are saved. All operations are ultra slow. Lets for instance say 100 operation take 30 minutes.
But if let the indexmanager do its reindex job (simply add a Thread.sleep(60000)) after the index is defined then the whole process takes about 30 seconds, which would be quite ok for 10k nodes. After that everything runs fine (fast) again.
What I would like though is that reindexing simply blocks (with synchronous indexes).
What would be even better: If I could tell the IndexManger that there is nothing to reindex, when defining an index.
Because that's exactly my use-case: I dynamically define Indexes prior to adding nodes that would be touched by that index. But I do it on a repo that already contains a lot of (other) nodes.
Attachments
Issue Links
- relates to
-
MODE-2432 Enhance IndexManager SPI to offer information about the re-index status of all (enabled) indexes
- Resolved