CQ5.3 - CRX Upgrade: Some properties are new indexed after upgrading CQ's CRX to version 2.1

Problem

After Upgrading default CRX delivered with CQ5.3 to CRX2.1 as described in the documentation [0] some properties are indexed in the full text search which were not indexed in the past before the upgrade.

Resolution

Add the following configuration section above section '<!-- Cq Page for jcr:contains(jcr:content, "...") searches -->'.

<!--
      Exclude some well known properties from the node scope
      fulltext index. Do not add rules below this one, since
      this rule matches any node and acts as a default/fallback.
 -->
<index-rule nodeType="nt:base">
    <property nodeScopeIndex="false">analyticsProvider</property>
    <property nodeScopeIndex="false">analyticsSnippet</property>
    <property nodeScopeIndex="false">hideInNav</property>
    <property nodeScopeIndex="false">offTime</property>
    <property nodeScopeIndex="false">onTime</property>
    <property nodeScopeIndex="false">cq:allowedTemplates</property>
    <property nodeScopeIndex="false">cq:childrenOrder</property>
    <property nodeScopeIndex="false">cq:cugEnabled</property>
    <property nodeScopeIndex="false">cq:cugPrincipals</property>
    <property nodeScopeIndex="false">cq:cugRealm</property>
    <property nodeScopeIndex="false">cq:designPath</property>
    <property nodeScopeIndex="false">cq:isCancelledForChildren</property>
    <property nodeScopeIndex="false">cq:isDeep</property>
    <property nodeScopeIndex="false">cq:lastModified</property>
    <property nodeScopeIndex="false">cq:lastModifiedBy</property>
    <property nodeScopeIndex="false">cq:lastPublished</property>
    <property nodeScopeIndex="false">cq:lastPublishedBy</property>
    <property nodeScopeIndex="false">cq:lastReplicated</property>
    <property nodeScopeIndex="false">cq:lastReplicatedBy</property>
    <property nodeScopeIndex="false">cq:lastReplicationAction</property>
    <property nodeScopeIndex="false">cq:lastReplicationStatus</property>
    <property nodeScopeIndex="false">cq:lastRolledout</property>
    <property nodeScopeIndex="false">cq:lastRolledoutBy</property>
    <property nodeScopeIndex="false">cq:name</property>
    <property nodeScopeIndex="false">cq:parentPath</property>
    <property nodeScopeIndex="false">cq:segments</property>
    <property nodeScopeIndex="false">cq:siblingOrder</property>
    <property nodeScopeIndex="false">cq:template</property>
    <property nodeScopeIndex="false">cq:trigger</property>
    <property nodeScopeIndex="false">cq:versionComment</property>
    <property nodeScopeIndex="false">jcr:createdBy</property>
    <property nodeScopeIndex="false">jcr:lastModifiedBy</property>
    <property nodeScopeIndex="false">sling:alias</property>
    <property nodeScopeIndex="false">sling:resourceType</property>
    <property nodeScopeIndex="false">sling:vanityPath</property>
    <property isRegexp="true">.*:.*</property>
</index-rule>

Note: As described in the documentation mentioned above indexing_config.xml is overwritten with the upgrade. This means all customizations in this file have to be reset manually after the upgrade!

Applies to

CQ 5.3

 Adobe

Krijg sneller en gemakkelijker hulp

Nieuwe gebruiker?