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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0, 1.8.0, 1.6.13
    • Component/s: lucene
    • Labels:
      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

            • Assignee:
              chetanm Chetan Mehrotra
              Reporter:
              catholicon Vikas Saurabh

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment