Index jcr:content/cq:lastReplicationAction - Not a valid JCR Name
I am trying to create custom index on jcr:content/cq:lastReplicationAction on AEM but for some reason it complained about "Not A Valid JCR Name"

Am I missing something here?
I am trying to create custom index on jcr:content/cq:lastReplicationAction on AEM but for some reason it complained about "Not A Valid JCR Name"

Am I missing something here?
@aemuser2345
For Property Index in OakIndexDefinition,
You need not specify path of the property, just go with all properties in propertyNames field (i.e. cq:lastReplicationAction)
And then you can specify node type for which this index is applicable in declaringNodeTypes field (i.e. cq:PageContent)
These should work.
For more info on above properties:
Checkout documentation : https://jackrabbit.apache.org/oak/docs/query/indexing.html
And these relevant references :
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.