Hi,
I am deploying the oak:index on AEM 6.5.13 and getting an error below
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Node '{http://jackrabbit.apache.org/oak/ns/1.0}index [nt:unstructured (rep:AccessControllable)]' is not allowed as child of not contained node with potential default types '[nt:folder]': Could not find matching child node definition in parent's node type", filePath=jcr_root\_oak_index\.content.xml, nodePath=/oak:index, line=4, column=39
I have type defined . .content.xml for _oak_index is as follows.
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" xmlns:cq="http://www.day.com/jcr/cq/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:mixinTypes="[rep:AccessControllable]"
jcr:primaryType="nt:unstructured">
<my-custom-index>
....
</my-custom-index>
</jcr:root>
And added below snippet in my filter.xml of ui.apps
<filter root="/oak:index/my-custom-index" />
oak:index is root level node hence not sure from where default type is getting pick.
Thanks,