Have you tried using the full text search on relative paths ? //more code... map.put("path", "/content"); map.put("type", "cq:Page"); map.put("group.p.or", "true"); map.put("group.1_fulltext", "/catalog/menu"); map.put("group.1_fulltext.relPath", "jcr:links"); map.put("group.2_fulltext", "something ...