Getting Search to work

Permalink
I have just done a fresh install of 5.4.0.5 and let c5 install sample content. I thought I would try out the search function that is included but regardless of what I entered in the search I kept getting no results. I read the docs and a few posts but still dont seem to be able to get search to work. As I said it is a fresh install with no custom anything so I am really confused as to what I may have done wrong. I deleted cache's and ran the indexer several times. It must be something blindingly obvious but it is so close to my nose I am missing it. Can anyone tell a noob what he might be doing wrong?

 
JimboJetset replied on at Permalink Reply
JimboJetset
Have you ran the 'Index Search Engine' job since installing your sample content.

Dashboard->System & Maintenance->Jobs
alehut replied on at Permalink Reply
Yes I did, I also just ran it again since seeing your post and the did a search for Concrete (a popular word in the sample content) with no results returned.
kurotsuki replied on at Permalink Reply
kurotsuki
at dashboard->sitemap->page search, there's should be a link named "setup index" on the search form. Go there.
This is by default is a whitelist. Only selected area are Indexed and by default is none. Just mark your desired area to index, and save.
try re-index your site. this should solve the indexing problem.
btw, I'm using version 5.4.0.5.
JimboJetset replied on at Permalink Reply
JimboJetset
Are you using one of the default templates or a custom template...?

If you are using a custom template then it is useful to know that by default Concrete5 only indexes areas named 'Main Content' and 'Main'.

This can be changed but it requires getting into the code a little bit.
BHWW replied on at Permalink Reply
BHWW
Hi I'm also getting this problem, however some words it finds and some it misses?? I have done the following:

Cleared all caches (Local, C5 and browser)
Added all content areas to jobs/index_search.php

Loader::library('database_indexed_search');
      $is = new IndexedSearch();
      $is->addSearchableArea('Main2');
      $is->addSearchableArea('Main3');
      $result = $is->reindexAll();
      return t('%s page(s) indexed.', $result->count);

Reindexed the search engine in Dashboard-->Jobs

I'm running 5.4.0.5 and it's not making sense to me, any ideas? Thanks in advance
alehut replied on at Permalink Reply
I think it may be a slightly bigger problem, have a look herehttp://www.concrete5.org/community/forums/customizing_c5/search-ind...
I did however test something that seemed to work (please remember I am a total noob so you may want wiser words) I did an install of 3.3.1.1 and got search working again then upgraded to 5.4.0.5.
This was in a dev version of Plain Yogurt so no one would get hurt if it went Pete Tong.
BHWW replied on at Permalink Reply
BHWW
Thanks for that, i'll keep an eye on that post.

Cheers