Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Custom Index is not showing on CRXDE in cqPageLucene

Avatar

Level 3

I have added a custom index for cqPageLucene but its not showing up on CRXDE after deploying on local. cqPageLucene already has a few indexes. So in content.xml is only adding the custom index. 

 

<?xml version="1.0" encoding="UTF-8" ?>
<root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0">
<jcr:primaryType>oak:QueryIndexDefinition</jcr:primaryType>
<compatVersion>2</compatVersion>
<jcr:lastModifiedBy>Ensure Oak Index</jcr:lastModifiedBy>
<seed>-2167964591268935400</seed>
<type>lucene</type>
<async>async</async>
<async>nrt</async>
<evaluatePathRestrictions>true</evaluatePathRestrictions>
<excludedPaths>/var</excludedPaths>
<excludedPaths>/etc/replication</excludedPaths>
<excludedPaths>/etc/workflow/instances</excludedPaths>
<excludedPaths>/jcr:system</excludedPaths>
<reindex>false</reindex>
<indexRules>
<jcr:primaryType>nt:unstructured</jcr:primaryType>
<cq:Page>
<jcr:primaryType>nt:unstructured</jcr:primaryType>
<properties>
<jcr:primaryType>nt:unstructured</jcr:primaryType>
<pageReplicationAction>
<jcr:primaryType>nt:unstructured</jcr:primaryType>
<propertyIndex>true</propertyIndex>
<name>jcr:content/cq:pageReplicationAction</name>
<type>String</type>
</pageReplicationAction>
</properties>
</cq:Page>
</indexRules>
</root>    

 

 

For some reason CRXDE only shows the OOTB indexes but not the one I added above. Is this expected?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

can you change the reindex value to true

 

you need to set <reindex>true</reindex> to build the index

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

can you change the reindex value to true

 

you need to set <reindex>true</reindex> to build the index