Page 1 of 1

Search exclusion problems

Posted: Tue Jul 24, 2007 9:30 am
by clefty
I have a problem that's been bugging me for several days.

I'm trying to exclude content that's protected by FrontEndUsers/CustomContent from being returned using the core Search module.

The content I want excluded is the summary from the Uploads module.

The summary is using the minimal template, and I've added:

Code: Select all

<!-- pageAttribute: NotSearchable -->
to the template.

The uploads listing is still indexed and returned by the search.

The summary page is set to not cacheable, I've manually cleared the cache and done a search reindex - still the page gets searched.

I then tried adding the modules='news,cataloger' parameter to the {search} tag to keep the search out of the upload modules and now nothing is returned for any query!

Can anybody shed any light on this - going nuts here!!

Versions: CMS 1.1, Search 1.3, Uploads 1.3.0-beta3, FrontEndUsers 1.2.0, CustomContent 1.4.6

Re: Search exclusion problems

Posted: Wed Sep 05, 2007 10:44 am
by KO
You might have allready solved your problem but I believe that "Not searchable" code needs to go to actuall page content. If you put it on template it won't work unfortunately :(. Search module won't go to look if there is some content on template used by that page. I could be wrong but I believe this is how it works.

I would like to see this also more convenient for editors who are not able to do this much. I think there should be option on "page options" that is stored in database and checked by search module that can that page be searched.

br, K