Search function in my site works, but picks up things it shouldn't...

Author Message

James Packham

Thursday 22 January 2004 8:08:00 am

Hi,

I've just finished working on the search functionality for my site but I didn't want people visiting my site to be able to search for any of the default classes, like folders and articles, so I edited those classes and unchecked the "searchable" option in admin.

However when I do a search I can still see them! Uh oh! By the way - yes I cleared my caches. I'm using ez version 3.3-2.

I'm just wondering is there something I've forgotten to do, or have I found a bug?

Regards,

James

Balazs Halasy

Thursday 22 January 2004 8:10:18 am

Hi,

You'll have to reindex your search OR republish the objects that shouldn't be searchable - however, the last solution is kinda pain...

Info about reindexing is available here:

http://www.ez.no/developer/ez_publish_3/documentation/configuration/troubleshooting/i_need_to_reindex_my_site_for_search

Balazs

James Packham

Thursday 22 January 2004 9:11:22 am

Thanks Balazs,

Worked fine. Is there actually a tutorial on searching somewhere? I couldn't find one, might be an idea for the creating an ezpublish site tutorial maybe?

Anyway, thanks again!

~James~

p.s. I like the new look site, take some getting used to, but pretty good looking :)

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 19 2025 04:36:34
Script start
Timing: Jan 19 2025 04:36:34
Module start 'layout'
Timing: Jan 19 2025 04:36:34
Module start 'content'
Timing: Jan 19 2025 04:36:35
Module end 'content'
Timing: Jan 19 2025 04:36:35
Script end

Main resources:

Total runtime0.9010 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.4453152.6563
Module start 'layout' 0.00540.0043 742.101639.4922
Module start 'content' 0.00970.8897 781.5938509.4609
Module end 'content' 0.89950.0015 1,291.054712.0938
Script end 0.9009  1,303.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3704160.0002
Check MTime0.00130.1454160.0001
Mysql Total
Database connection0.00070.082610.0007
Mysqli_queries0.846693.9649570.0149
Looping result0.00080.0849550.0000
Template Total0.864395.920.4322
Template load0.00220.242820.0011
Template processing0.862195.689020.4311
Template load and register function0.00010.010810.0001
states
state_id_array0.00140.155110.0014
state_identifier_array0.00150.165520.0007
Override
Cache load0.00180.2020240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.077620.0003
Fetch class attribute name0.00120.135650.0002
XML
Image XML parsing0.00090.101520.0005
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00100.1076220.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs