Details
-
Feature Request
-
Resolution: Done
-
Major
-
4.1.0.Final
-
None
Description
See also forum reference.
It would be nice to have some information about the currently only internal status of a ManagedIndex visible to clients.
Reason is, that if an index is unavailable (because of reindexing or whatever other reason it decides to be offline), then queries can get really slow on big repositories. If at the same time also reindexing is running, things get even worse.
In order for a client to detect such a situation and then react accordingly (in my case by delaying the query) There should be a mandatory getStatus method for ManagedIndexes and also one additional method in IndexManager to ask for this status.
FYI, Im currently using OPEN, PROPERLYSHUTDOWN, CRASHED and REINDEX for lucene.
Attachments
Issue Links
- is related to
-
MODE-2316 Add flag/setting/switch to reindex nodes synchronously when adding new indexes at runtime
- Closed