How do I create a SimpleSearch that would not return pages that are marked to be hidden in navigation?
SELECT * FROM Re: Filter out pages that are marked with hideInNav true in the SimpleSearch AS s WHERE ISDESCENDANTNODE(/content) and NOT CONTAINS(s.hideInNav, 'true')
D.
AFAIK SimpleSearch implementation is for simple fulltext search and can't use it, you need to use either with sql or xpath
[1] //element(*, cq:Page)[jcr:content/@hideInNav = 'true']
[2] http://<host>:<port>/bin/querybuilder.json?property=jcr%3acontent%2f%40hideIn Nav&property.value=true&type=cq%3aPage
North America
Europe, Middle East and Africa
Asia Pacific