Search Won't Work

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
User avatar
Acorn
Registered User
Posts: 17
Joined: Thu Nov 02, 2006 3:53 pm

Search Won't Work

Post by Acorn »

When I try to search for anything on my phpbb3.0.3 site I get the same response:
The following words in your search query were ignored because they are too common words: games.
You must specify at least one word to search for. Each word must consist of at least 3 characters and must not contain more than 14 characters excluding wildcards.

I have a number of mods installed, but I tried reverting to new search.php files and that made no difference. I have no idea where else to look for the problem. Can anyone help?

Site is http://www.i-church.org/publicforums
Template is prosilver based
Mods (off the top of my head):
Announcement centre
User Blog Mod/ userlist/ front page display
Instant redirects for ACP and posting
Topic Titles

User avatar
Brf
Support Team
Support Team
Posts: 332
Joined: Sun Mar 11, 2007 1:06 pm

Re: Search Won't Work

Post by Brf »

The error message says you are searching for "games" when you are searching for something else?

User avatar
Acorn
Registered User
Posts: 17
Joined: Thu Nov 02, 2006 3:53 pm

Re: Search Won't Work

Post by Acorn »

No, whatever I search for the result says that the word is too common or too short or suggests that I haven't entered a word, even when I know the word is on the site either a few times or many times.

User avatar
Brf
Support Team
Support Team
Posts: 332
Joined: Sun Mar 11, 2007 1:06 pm

Re: Search Won't Work

Post by Brf »

I just did a search for "vicar" on your board and it worked just fine.

User avatar
Acorn
Registered User
Posts: 17
Joined: Thu Nov 02, 2006 3:53 pm

Re: Search Won't Work

Post by Acorn »

OK, now I'm really confused. 'Vicar' works for me too, but 'games', which is on the site 5 times according to Google, and 'Prayer', which is there about 100 times, give me the same result as in the OP. Why? How (and where) are the common words defined?

User avatar
Brf
Support Team
Support Team
Posts: 332
Joined: Sun Mar 11, 2007 1:06 pm

Re: Search Won't Work

Post by Brf »

Your "Neverending Hymn Game" topic has 127 posts. That is over 10% of your board's posts.

User avatar
Acorn
Registered User
Posts: 17
Joined: Thu Nov 02, 2006 3:53 pm

Re: Search Won't Work

Post by Acorn »

Ahh - I see. Thanks very much. :)

I think I might change the wording to make it clear that it means that the word appears a lot on the site. I assumed that by 'common' words it meant 'a', 'the', 'and' etc.

User avatar
Brf
Support Team
Support Team
Posts: 332
Joined: Sun Mar 11, 2007 1:06 pm

Re: Search Won't Work

Post by Brf »

Actually, it is explained pretty well on the Search Settings page:
Common word threshold:
Words which are contained in a greater percentage of all posts will be regarded as common. Common words are ignored in search queries. Set to zero to disable. Only takes effect if there are more than 100 posts.

User avatar
Acorn
Registered User
Posts: 17
Joined: Thu Nov 02, 2006 3:53 pm

Re: Search Won't Work

Post by Acorn »

I should probably have found that , but it won't help members who think the search isn't working!

User avatar
Brf
Support Team
Support Team
Posts: 332
Joined: Sun Mar 11, 2007 1:06 pm

Re: Search Won't Work

Post by Brf »

As the description says, you can set the threshold to zero. Then rebuild your search index. Then you should not have that problem anymore.

Locked