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.

eZ debug

Timing: Jan 31 2025 03:32:16
Script start
Timing: Jan 31 2025 03:32:16
Module start 'layout'
Timing: Jan 31 2025 03:32:16
Module start 'content'
Timing: Jan 31 2025 03:32:16
Module end 'content'
Timing: Jan 31 2025 03:32:16
Script end

Main resources:

Total runtime0.0239 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1328151.2109
Module start 'layout' 0.00500.0039 739.3438220.6875
Module start 'content' 0.00890.0135 960.0313997.7891
Module end 'content' 0.02240.0015 1,957.820333.9922
Script end 0.0239  1,991.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.3000140.0002
Check MTime0.00124.8174140.0001
Mysql Total
Database connection0.00093.621310.0009
Mysqli_queries0.00239.623830.0008
Looping result0.00000.049810.0000
Template Total0.00114.610.0011
Template load0.00083.462910.0008
Template processing0.00031.090610.0003
Override
Cache load0.00062.427110.0006
General
dbfile0.00125.099280.0002
String conversion0.00000.027940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs