I'm getting a strange error below for a brand new enumerated oak:index path in crx as oak0:index or oak2:index.
I been following https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/indexing... to configure the custom index for my index definitions. Below I'm getting this error which doesn't make sense since my filter.xml and .content.xml has the same value that differs from the logs:
03.05.2023 15:19:34.007 *ERROR* [OsgiInstallerImpl] org.apache.jackrabbit.vault.fs.impl.io.DocViewImporter Error during processing of /oak:index/inRiverConnectorIndexd-1-custom-1: javax.jcr.PathNotFoundException: /oak2:index
03.05.2023 15:19:34.008 *ERROR* [OsgiInstallerImpl] org.apache.jackrabbit.vault.fs.io.Importer E /oak:index/inRiverConnectorIndex-1-custom-1 (javax.jcr.PathNotFoundException: /oak2:index)
First I don't know where the 'd' in /oak:index/inRiverConnectorIndexd-1-custom-1 is coming from since it's set correctly. Second I don't understand the reason for this new root oak2:index path being created and then throwing an error
For reference, I setup the POM files as instructed and the filter is looking for ui.apps\src\main\content\META-INF\vault\filter.xml with the added filter:
<filter root="/oak:index/outboundConnectorIndex-1-custom-1"/>
Also I set up the correct index path formatted as ui.apps\src\main\content\jcr_root\_oak_index\outboundConnectorIndex-1-custom-1\.content.xml containing the proper definitions:
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:oak="https://jackrabbit.apache.org/oak/ns/1.0" xmlns:dam="http://www.day.com/dam/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:rep="internal"
jcr:primaryType="nt:unstructured">
<outboundConnectorIndex
jcr:primaryType="oak:QueryIndexDefinition"
compatVersion="{Long}2"
type="lucene"
async="[async,nrt]"
includedPaths="[/content/dam]"
queryPaths="[/content/dam]">
<indexRules jcr:primaryType="nt:unstructured">
<dam:Asset>
<properties>
<sendToOutbound jcr:primaryType="nt:unstructured"
name="jcr:content/metadata/certcel:sendToOutbound"/>
<removeFromOutbound jcr:primaryType="nt:unstructured"
name="jcr:content/metadata/certcel:removeFromOutbound"/>
</properties>
</dam:Asset>
</indexRules>
</outboundConnectorIndex>
</jcr:root>
Can anyone point out the reason for the error above and why it isn't being added to /oak:index?