Hallo, We have pages with a boolean page property that should control whether this page may be found by the search.
1) How to write a query string that excludes pages with certain NodeData values? I tried SELECT * FROM mgnl:contentNode WHERE CONTAINS(*, 'something') AND NOT CONTAINS(hideInNav, 'true') AND jcr:path LIKE '/content/%' ORDER BY jcr:score DESC but the page is still in the result set (using JCR query tool in admin central). I tried the XPATH analog /jcr:root/content[1]//element(*, mgnl:contentNode)[jcr:contains(., 'something') and not(jcr:contains(@hideInNav, 'true'))] order by @jcr:score descending with the same result. At least this is fine :-) 2) Can I exclude some paragraphs from beeing searched? How would such a query string look like? Is there a better solution than providing (a long) white list of node names to search in? We are using Magnolia 3.5.8 with Jackrabbit 1.3.3. Thanks a lot Wolf ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
