[
https://issues.apache.org/jira/browse/OAK-12534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller resolved OAK-12534.
----------------------------------
Fix Version/s: 2.10.0
Resolution: Fixed
> Simplified index management: do not create indexes of type 'disabled', and
> diff.index is sometimes ignored
> ----------------------------------------------------------------------------------------------------------
>
> Key: OAK-12534
> URL: https://issues.apache.org/jira/browse/OAK-12534
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: indexing
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Priority: Major
> Fix For: 2.10.0
>
>
> With simplified index management, there is one case where the merging result
> is an index of type "disabled": in case the base index is (already) disabled,
> then the merged index will also be disabled.
> But the base index is disabled to save resources, and it needs to be
> considered to be of type "lucene".
> A second issue also addressed in this PR is: there are two kinds of diff
> indexes: the node "/oak:index/diff.index" and the node
> "/oak:index/diff.index.optimizer". Both of them are combined. But if only the
> "/oak:index/diff.index.optimizer" in the "merge" method, and a
> "/oak:index/diff.index" exists (unchanged) already in the repository, then
> (currently) it is ignored. This PR also fixes this issue.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)