oak index creating issue in AEM6.5.5
Dear community members,
I have couple of custom index definitions and they are inside the /oak:index content.xml. Here is how one of them being included in my project :
<myCustomLuceneIndex jcr:primaryType="oak:QueryIndexDefinition" async="async" compatVersion="{Decimal}2"
excludedPaths="[/content/myApp/sites/en-us/system-pages,/content/myApp/sites/en-us/miscellaneous"
excludePropertyNames="[cq:lastModifiedBy,jcr:createdBy,cq:lastReplicatedBy,jcr:lastModifiedBy]"
dexPath="/oak:index/myCustomLuceneIndex" includePropertyTypes="[String,Binary]"
reindex="{Boolean}false" reindexCount="{Long}2" type="lucene">
<indexRules jcr:primaryType="nt:unstructured">
<nt:base jcr:primaryType="nt:unstructured"
includePropertyTypes="[String,Binary]">
<properties jcr:primaryType="nt:unstructured">
<allProps jcr:primaryType="nt:unstructured"
isRegexp="{Boolean}true" name=".*"
nodeScopeIndex="{Boolean}true"/>
</properties>
</nt:base>
</indexRules>
</myCustomLuceneIndex>I have added this is /filter .xml like this :
<filter root="/oak:index/myCustomLuceneIndex"/>This works completely fine with AEM 6.4.4 but when I install this along with the build in AEM 6.5.5, seems like the engine gets stuck somehow and not being able to recover at all(even after AEM restart, or system restart).
I actually checked the logs, and I couldn't find anything about it(not even 54% completed or something like that messages that says that re-indexing is in progress). As soon as I comment the oak_index .content.xml and the line in filter.xml, everything works great.
Why is this happening? is this way not recommended? or am I doing something wrong?
Thanks,
Bilal.