Custom Index | Community
Skip to main content
New Participant
September 3, 2024
Question

Custom Index

  • September 3, 2024
  • 3 replies
  • 619 views

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.

 

@arunpatidar  @aanchal-sikka 

 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

kautuk_sahni
Employee
November 26, 2024

@satishna  Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni
New Participant
September 5, 2024

Hi @satishna , 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.