jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-5894) IndexDefinitionBuilder shouldn't set type=lucene if type=disabled in existing tree
Date Thu, 12 Jul 2018 16:14:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541882#comment-16541882
] 

Vikas Saurabh commented on OAK-5894:
------------------------------------

Backported to 1.6 branch at [r1835753|https://svn.apache.org/r1835753].

> IndexDefinitionBuilder shouldn't set type=lucene if type=disabled in existing tree
> ----------------------------------------------------------------------------------
>
>                 Key: OAK-5894
>                 URL: https://issues.apache.org/jira/browse/OAK-5894
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.7.0, 1.8.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message