Hi, At least, I was thinking about a solution of that kind but, I'm afraid for the performances, I'll go through testing ... I was hoping someone got a query based solution but, I'm afraid we all spent hours testing and seeking for any clue without any success. I'll let you know if could find something more around.
Thx a lot for your help Regards Stephane -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of rainer Sent: Thursday, December 11, 2008 6:24 PM To: [email protected] Subject: RE: [magnolia-user] Search and path exclusion hi, we usually solve this by adding a special property to pageProperties dialog for the pages that should be excluded. i dont remember exactly, how we treat those pages afterwards - maybe we filter the searchresults or it is even possible to modify the query in a way, it only gives u the pages that dont have the special property. (Sorry i cannot access the sources right now) You can also filter your results and exclude the pages u want to exclude, but that is not the best way if u look at the performance... If u got a query-based-solution, please let me know ;) regards rainer Gauthier, Stephane (CH) wrote: > > > 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]> > ---------------------------------------------------------------- > > > -- View this message in context: http://www.nabble.com/Search-and-path-exclusion-tp20954894p20960231.html Sent from the Magnolia - User mailing list archive at Nabble.com. ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
