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

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.1.0.Final
    • Fix Version/s: 4.3.0.Final
    • Component/s: Query
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hchiorean Horia Chiorean
                  Reporter:
                  bes82 Bjoern Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: