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

Elasticsearch index provider always recreates index even if they exist upon engine restart

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.2.0.Final
    • Fix Version/s: 5.3.0.Final
    • Component/s: Indexing
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1. Start engine configured to store indexes in ES
      2. Create a lot of content that will be indexed (so the behaviour will be simpler to observe)
      3. Verify the size of the indexes on ES
      4. Restart the engine and observe index recreation on ES.
      5. Monitor the index state on ES, seeing that indexes is been dropped then created

      Show
      1. Start engine configured to store indexes in ES 2. Create a lot of content that will be indexed (so the behaviour will be simpler to observe) 3. Verify the size of the indexes on ES 4. Restart the engine and observe index recreation on ES. 5. Monitor the index state on ES, seeing that indexes is been dropped then created

      Description

      Using Elasticsearch index provider, each time the engine is started indexes are dropped and rebuilt from scratch.
      The correct behaviour should be not to drop indexes, but reuse existing ones.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                oleg.kulikov Oleg Kulikov
                Reporter:
                l.tagliani Luca Tagliani
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: