[
https://issues.apache.org/jira/browse/OAK-12534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller updated OAK-12534:
---------------------------------
Description:
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.
was:
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".
> 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
>
> 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)