From 9ba76c0df4227eada5442b05af550d639190db59 Mon Sep 17 00:00:00 2001 From: Pablo Castelo Date: Tue, 23 Apr 2024 10:32:14 +0200 Subject: [PATCH] Remove property not allowed in index definition, add small section on readme for maintenance --- Readme.md | 4 ++++ .../jcr_root/_oak_index/aecuHistory-custom-1/.content.xml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 26729641..2e3681a2 100644 --- a/Readme.md +++ b/Readme.md @@ -163,6 +163,10 @@ Then delete "aem-groovy-console" packages in package manager. +## Upgrade from version lower than 5.0.0 (On Premise) + +The index was moved from /var/aecu to /oak:index for cloud compatibility reasons, please remove the /var/aecu/oak:index/aecuHistory to avoid duplicate index definitions + # File and Folder Structure All migration scripts need to be located in: diff --git a/oak.index/src/main/content/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml b/oak.index/src/main/content/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml index ce1e370c..0b92742c 100644 --- a/oak.index/src/main/content/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml +++ b/oak.index/src/main/content/jcr_root/_oak_index/aecuHistory-custom-1/.content.xml @@ -4,7 +4,6 @@ async="async" compatVersion="{Long}2" evaluatePathRestrictions="{Boolean}true" - reindex="{Boolean}false" reindexCount="{Long}0" type="lucene" includedPaths="[/var/aecu]"