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.