Hey, I would like to add a custom nodetype / mixintype to be indexed. I have seen there is a nodetype index, but I don't want to change the OOTB one because this would be hard to maintain.
I have found the following page but this actually makes it even worse: https://jackrabbit.apache.org/oak/docs/query/ootb-index-change.html This would mean that when we do an upgrade of our product, we would have to keep in mind that the upgraded nodetype index has to be taken into account to make a new custom nodetype index. What is the reason that you cant just make a second nodetype index that adds to the OOTB one, or is there a workaround to make it work? For example: <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="oak:QueryIndexDefinition" type="property" propertyNames="{Name}[jcr:mixinTypes]" declaringNodeTypes="{Name}[mix:customMixin]" nodeTypeListDefined="{Boolean}true" async="async" forceReindex="{Boolean}true"/> Thanks! Roy
