Search feature not working properly
Search feature not working properly
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
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
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?
I'm using 1.0.2 "Maui", but can't seem to get the search function to work?
Re: Search feature not working properly
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...
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...
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Search feature not working properly
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).
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).
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Search feature not working properly - indexing not functioning?
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
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
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
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
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.
Phew!
Hope this helps anyone out there.
Re: Search feature not working properly
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...
This is actually pretty critical as a properly functioning search is such an essential feature...

Re: Search feature not working properly
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.
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
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
Try module pisearch. Test it here http://piratos.byethost33.com/cmsms/
Last edited by Piratos on Fri Oct 13, 2006 4:18 pm, edited 1 time in total.
Re: Search feature not working properly
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:
@Piratos: I tried yours as well. I searched for 'gpl': no luck.
I'm using v.1.0.2. Maui
I add:
This helped

@Piratos: I tried yours as well. I searched for 'gpl': no luck.
I'm using v.1.0.2. Maui
Last edited by Gregor on Fri Oct 13, 2006 8:56 pm, edited 1 time in total.
Re: Search feature not working properly
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.
With minchars="0" all length are accepted.
Last edited by Piratos on Sat Oct 14, 2006 7:39 am, edited 1 time in total.
Re: Search feature not working properly
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:
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
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'}
The indexing working fine when I put the content of the template file directly in the template (as designated).
may be it helps
Klaus