Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2432

Enhance IndexManager SPI to offer information about the re-index status of all (enabled) indexes

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 4.3.0.Final
    • 4.1.0.Final
    • Query
    • 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

          Activity

            People

              hchiorean Horia Chiorean (Inactive)
              bes82 Bjoern Schmidt (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: