Forums / Setup & design / Search function in my site works, but picks up things it shouldn't...

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 :)

eZ debug

Timing: Jan 19 2025 01:12:20
Script start
Timing: Jan 19 2025 01:12:20
Module start 'content'
Timing: Jan 19 2025 01:12:20
Module end 'content'
Timing: Jan 19 2025 01:12:21
Script end

Main resources:

Total runtime0.8013 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.2266180.7969
Module start 'content' 0.00650.6040 770.0234514.5703
Module end 'content' 0.61040.1908 1,284.5938332.7422
Script end 0.8012  1,617.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.5482210.0002
Check MTime0.00170.2177210.0001
Mysql Total
Database connection0.00090.114710.0009
Mysqli_queries0.720689.92961940.0037
Looping result0.00240.29561920.0000
Template Total0.772796.420.3864
Template load0.00230.289720.0012
Template processing0.770496.140220.3852
Template load and register function0.00010.014710.0001
states
state_id_array0.00100.129510.0010
state_identifier_array0.00060.076520.0003
Override
Cache load0.00200.2436240.0001
Sytem overhead
Fetch class attribute can translate value0.00220.274830.0007
Fetch class attribute name0.00110.136350.0002
XML
Image XML parsing0.00120.148430.0004
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00220.2692330.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs