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