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]> > ---------------------------------------------------------------- > > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[EMAIL PROTECTED]> ----------------------------------------------------------------
