Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5894

IndexDefinitionBuilder shouldn't set type=lucene if type=disabled in existing tree

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.0, 1.8.0, 1.6.13
    • lucene
    • None

    Description

      IndexDefinitionBuilder is often used to provision indices in RepositoryInitializer. In current form, provisioning would lead to setting up type="lucene" (and hence reindex=true as a side-effect) even if the definition had been marked disabled.

      Sure, the provisioning logic can do that check - but the behavior of not setting type=lucene sounds like a sane default behavior.

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            catholicon Vikas Saurabh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: