Hi Vasko, Thx for your answer, I have thought about that but unfortunatly anonymous role must have access to theses pages. It's just that in my case, I have more than 2500 pages stored in a node for which we don't want to provide any search results. We want to avoid these pages been found out of their context. Thx again Regards Stéphane
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vasko Gjurovski Sent: Thursday, December 11, 2008 2:36 PM To: Magnolia User-List Subject: Re: [magnolia-user] Search and path exclusion I usually solve this by denying access to the user that makes the search. For example, if you want to make /excluded-path not visible in search at a public site, just deny the access to the anonymous role for the selected path. Regards, Vasko On Thu, Dec 11, 2008 at 1:49 PM, Gauthier, Stephane (CH) <[EMAIL PROTECTED]> wrote: Hi, I have to exclude some node from the website search results. I have tried to use a statements like that: select * from mgnl:content where jcr:path like '/%' AND NOT jcr:path like '/excluded-path/%' It seems that the NOT is not supported for path comparisons. I would like to know if someone had to faces that kind of problem and what kind of solution have been implemented? Thx for your help Stephane Gauthier ************************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager ([EMAIL PROTECTED]) and delete the message with any attached files from your system. The confidentiality and integrity of this message cannot be guaranteed on the Internet and the sender does not accept liability for its content. *********************************************************************************** ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[EMAIL PROTECTED]> ---------------------------------------------------------------- ************************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager ([EMAIL PROTECTED]) and delete the message with any attached files from your system. The confidentiality and integrity of this message cannot be guaranteed on the Internet and the sender does not accept liability for its content. *********************************************************************************** ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[EMAIL PROTECTED]> ----------------------------------------------------------------
