Page 1 of 2
Search feature not working properly
Posted: Mon Sep 18, 2006 3:32 pm
by rogerm
Hi,
CMSMS 1.0 "Hawaii" working great for me on linux server. But the internal site search feature returns "No Results Found!" for anthing search words entered that are contained in the pages I've added, despite whether custom or stock templates are used.
The search feature does return results from the sample pages that came with the install (documentation etc), but even then returns no results for part of that content such as the words "CKEditor" and "WYSIWYG" which are contained within those pages.
I've repeatedly clicked the "reindex al content" on the options tab on the search module page in admin and cleared the cache. I've also taken the time to search the forum and documention on the CMSMS site. I've spent time experimenting with other things as well.
Any help very much appreciated!
Thanks,
Roger M, NYC
Re: Search feature not working properly
Posted: Fri Sep 29, 2006 1:25 pm
by MeneM
Yes, I have the exact same problem?
I'm using 1.0.2 "Maui", but can't seem to get the search function to work?
Re: Search feature not working properly
Posted: Thu Oct 05, 2006 2:18 pm
by paragulka
I have the exact same problem using 1.0 Hawaii..
the search worked flawlessly until i tried to change the templates.. then it didnt return any results.. i reset the templates to defaults, and even reinstalled the search module - nothing worked...
Re: Search feature not working properly
Posted: Fri Oct 06, 2006 12:02 am
by calguy1000
Try the 're-index all content' option in the search module.
I just checked my site (new site upgradef from 0.13 to 1.0.2) and I've had no difficulty. I've edited content, and templates a billion times with no issues.
Maybe it's a database issue. Are you using adodb or adodb-lite (hint look in your config.php).
Re: Search feature not working properly - indexing not functioning?
Posted: Sat Oct 07, 2006 5:47 pm
by rogerm
Hi again,
I've spent time looking into the above suggestions and I'm wondering if the "search" feature is working fine, but it's the site indexing that's the problem? Repeatedly clicking the "reindex all content" button in the admin search module fails to index all the content. I determined this by looking in the "cms_module_search_index" table in the database which shows only "search" and "news" in the module name column. Apparently words associated with the search module are words indexed by the search module "reindex" feature and there are a very limited number of these entries. Any text from the "cms_module_search_index" table "word" column comes up fine using the search feature.
Continuing to investigate.
Roger M
Re: Search feature not working properly
Posted: Mon Oct 09, 2006 1:04 pm
by millo
Hi RogerM
Has no solution been found to this? Surely this is pretty critical stuff no? I've got the same problem fyi. I'm running the multilingual version but it should essentially be the same thing.
Any help appreciated.
Thanks
Re: Search feature not working properly
Posted: Tue Oct 10, 2006 1:17 am
by millo
I was using a custom template and didn't have the encoding set. Once I set it to utf-8. All the searching started working.
Phew!
Hope this helps anyone out there.
Re: Search feature not working properly
Posted: Thu Oct 12, 2006 5:54 pm
by paragulka
I still have no luck even with using built-in page and search templates...
This is actually pretty critical as a properly functioning search is such an essential feature...

Re: Search feature not working properly
Posted: Fri Oct 13, 2006 12:22 pm
by paragulka
OK, here's how i got search working again:
After editing any search template, it wont search anythign at all, reindexing does not work.
However, when i set all my pages to use a built-in theme and then reindex all pages, the search starts working again.
Then i can switch back to my custom template and search works.
For some odd reason reindexing does nto work with my custom template.
Go figure.
Re: Search feature not working properly
Posted: Fri Oct 13, 2006 12:39 pm
by tsw
did you read what millo wrote?
I was using a custom template and didn't have the encoding set. Once I set it to utf-8. All the searching started working.
Re: Search feature not working properly
Posted: Fri Oct 13, 2006 1:07 pm
by paragulka
yes for my case that was not the problem
Re: Search feature not working properly
Posted: Fri Oct 13, 2006 3:08 pm
by Piratos
Re: Search feature not working properly
Posted: Fri Oct 13, 2006 8:53 pm
by Gregor
I did a reindex on all content on my site, but no luck: the word 'whiskey' is on the first page, but search does not find it.
I add:
This helped
@Piratos: I tried yours as well. I searched for 'gpl': no luck.
I'm using v.1.0.2. Maui
Re: Search feature not working properly
Posted: Sat Oct 14, 2006 7:09 am
by Piratos
Words with a length <4 chars are ignored as standard, you can set it with the parameter minchars .
With minchars="0" all length are accepted.
Re: Search feature not working properly
Posted: Sat Nov 25, 2006 12:45 pm
by isi
Hello,
I had the same search index problem on one of my CMSMS sites.
And that was the problem:
The indexing stop working, when I have only one line in the template:
Code: Select all
{include file='the_path_to_my_templatefile/main.tpl'}
to edit the template with a normal editor.
The indexing working fine when I put the content of the template file directly in the template (as designated).
may be it helps
Klaus