Solved
Custom Index Cloud
I am trying to add a couple of fields to experienceFragmentsIndex-3 .. I did all of the instructions and didn't even change the code I got from dev server on cloud:
<experienceFragmentsIndex-3-custom-1
jcr:primaryType="oak:QueryIndexDefinition"
async="[async,nrt]"
compatVersion="{Long}2"
evaluatePathRestrictions="{Boolean}true"
includedPaths="[/content/experience-fragments]"
queryPaths="[/content/experience-fragments]"
reindex="{Boolean}false"
reindexCount="{Long}1"
seed="{Long}7872558779417643971"
type="lucene">
<aggregates jcr:primaryType="nt:unstructured">
<cq:Page jcr:primaryType="nt:unstructured">
<include0
jcr:primaryType="nt:unstructured"
path="jcr:content"
relativeNode="{Boolean}true"/>
</cq:Page>
<cq:PageContent jcr:primaryType="nt:unstructured">
<include0
jcr:primaryType="nt:unstructured"
path="*"/>
<include1
jcr:primaryType="nt:unstructured"
path="*/*"/>
</cq:PageContent>
</aggregates>
<indexRules jcr:primaryType="nt:unstructured">
<cq:Page
jcr:primaryType="nt:unstructured"
indexNodeName="{Boolean}true">
<properties jcr:primaryType="nt:unstructured">
<resourceType
jcr:primaryType="nt:unstructured"
name="jcr:content/sling:resourceType"
propertyIndex="{Boolean}true"
type="String"/>
<cqXfVariantType
jcr:primaryType="nt:unstructured"
name="jcr:content/cq:xfVariantType"
propertyIndex="{Boolean}true"
type="String"/>
<cqTags
jcr:primaryType="nt:unstructured"
name="jcr:content/cq:tags"
propertyIndex="{Boolean}true"
type="String"/>
<cqLastModified
jcr:primaryType="nt:unstructured"
name="jcr:content/cq:lastModified"
ordered="{Boolean}true"
propertyIndex="{Boolean}true"
type="Date"/>
<jcrCreated
jcr:primaryType="nt:unstructured"
name="jcr:created"
ordered="{Boolean}true"
propertyIndex="{Boolean}true"
type="Date"/>
</properties>
</cq:Page>
</indexRules>
</experienceFragmentsIndex-3-custom-1>
I get a build issue "ValidationViolation: "jackrabbit-docviewparser: Invalid XML found: The prefix "cq" for element "cq:Page" is not bound.", filePath=jcr_root\_oak_index\.content.xml, nodePath=/oak:index"