I'm trying to perform a query on the CRX of a 6.2 Adobe AEM version.
I have to execute a fulltext query on (aNode is a generic subnode of /content/connect/it/supplier/):
1) all properties of /content/connect/it/supplier/aNode/jcr:content
2) all subnodes of /content/connect/it/supplier/aNode/jcr:content/service/legal
as you can see, highlighted in red, in the following picture of the JCR OAK:
To achive my target I've used the following query using AEM query builder debugger:
path:/content/connect/it/supplier
orderBy:@jcr:score
p.limit:-1
group.p.or:true
group.1_fulltext:*something to search*
group.1_fulltext.relPath:jcr:content
group.2_fulltext:*something to search*
group.2_fulltext.relPath:jcr:content/service/legal
Searching for 'something to search' on the properties of jcr:content works properly.
I'm not able to search on the subnodes of 'jcr:content/service/legal'. It does not retrieve anything.