Expand my Community achievements bar.

Querydebugger returning the results excluding the path given

Avatar

Level 9

I am trying to get the values from mysite using querydebugger tool, my home page has a value Inicio in pageTitle field. my query is very simple, i.e search pageTitle with value Inicio anywhere in the path  /content/mysite/es and beneath

path=/content/mysite/es
type=cq:Page
fulltext=Inicio
fulltext.relPath=jcr:content/@pageTitle

which gives me the following xpath query

/jcr:root/content/mysite/es//element(*, cq:Page)
[
jcr:contains(jcr:content/@pageTitle, 'Inicio'
]

When I run I don't get the results from home page but I get results from child pages.

If we give the path it should return everything including the path and its child tree. 

0 Replies