Hi All,
Created a custom index for content fragment field. Below are xml.
Index name -cust.contentfrag-custom-1
<jcr:root xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" xmlns:slingevent="http://sling.apache.org/jcr/event/1.0"
xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/1.0"
xmlns:social="http://www.adobe.com/social/1.0" xmlns:dam="http://www.day.com/dam/1.0"
xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:rep="internal"
jcr:primaryType="oak:QueryIndexDefinition"
async="[async,nrt]"
compatVersion="{Long}2"
includedPaths="[/content/dam]"
includePropertyTypes="[String]"
queryPaths="[/content/dam]"
evaluatePathRestrictions="{Boolean}true"
reindex="{Boolean}true"
type="lucene">
<indexRules jcr:primaryType="nt:unstructured">
<nt:base jcr:primaryType="nt:unstructured">
<properties jcr:primaryType="nt:unstructured">
<degreeLevel
jcr:primaryType="nt:unstructured"
name="jcr:content/data/master/bookType"
nodeScopeIndex="{Boolean}true"
propertyIndex="{Boolean}true"/>
<term
jcr:primaryType="nt:unstructured"
name="jcr:content/data/master/id"
nodeScopeIndex="{Boolean}true"
propertyIndex="{Boolean}true"/>
</properties>
</nt:base>
</indexRules>
</jcr:root>
So when build and deploy on local its getting added under oak:index but on dev server (AEM as cloud) its not getting added. What could be reason or what i am missing here.
Views
Replies
Total Likes
Hi @satnarayan1 , have you checked deployment logs? You can download them from the pipeline run in Cloud Manager. Logs usually contain the status of the index update jobs and any errors related to them.
Views
Likes
Replies
Views
Likes
Replies