Filtering search results

Author Message

Valenti salas

Monday 13 December 2004 12:24:47 pm

I have implemented the search button in a website, but the problem is I uncheck the 'searchable' option in all the class atributtes but the class is shown in the results. is there any method to control this?

Thanks.

Silke Fox

Monday 13 December 2004 11:26:54 pm

Did you uncheck the "searchable" option in the content class <i>after</i> creating the content objects? Keep in mind that content class changes do not apply to existing content objects. Try to edit/ store one of the content objects that you don't want to find and start the search again.
It should work as you expected... if it doesn't, maybe the search index isn't updated properly.

Balazs Halasy

Tuesday 14 December 2004 1:43:20 am

Hey,

You can't just edit the class and uncheck the "searchable" boxes. This will only affect newly created objects or objects that you re-publish. In order to make it work for objects that already have been published you have to run the update search index script. Please refer to the following documentation page:

http://ez.no/ez_publish/documentation/configuration/troubleshooting/i_need_to_reindex_my_site_for_search

Balazs

Valenti salas

Wednesday 15 December 2004 5:05:34 am

is it necesary to use the cli mode? can I execute the script with normal php call? my server is configured as a CGI shell.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.