How can I deactivate "common words" in the search function?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
Farofylakas
Registered User
Posts: 138
Joined: Tue Oct 09, 2012 10:00 am

How can I deactivate "common words" in the search function?

Post by Farofylakas »

Hi,
I've just tried to search in my forum for the english word "game" but I got a message claiming that the word is too common and has been ignored. :|

It might be common in the english speaking world, but my forum is all in greek and "game" is a very uncommon word with us. Same with all the other english words, matter of fact.

Is there a way to disable this feature?

In ACP>General>Server configuration>Search settings>Fulltext native I see something about recreating the index in order to deactivate "common words". I visited ACP>Maintenance>Search Index, I've deleted the old index and recreated a new one but still, when trying to search for "game" I get a message that it's a common word and search won't do it.

thnx
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: How can I deactivate "common words" in the search functi

Post by Oyabun1 »

Which search backend are you using?
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
Farofylakas
Registered User
Posts: 138
Joined: Tue Oct 09, 2012 10:00 am

Re: How can I deactivate "common words" in the search functi

Post by Farofylakas »

Fulltext native
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: How can I deactivate "common words" in the search functi

Post by Oyabun1 »

Increase the Common word threshold on the search settings page. The default is 5%, depending on the board, somewhere between 10 and 60% may be more useful.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
Farofylakas
Registered User
Posts: 138
Joined: Tue Oct 09, 2012 10:00 am

Re: How can I deactivate "common words" in the search functi

Post by Farofylakas »

I've tried different values in the proposed range but when I search for "game" the board still considers it a common word (which it is not, in our case).
:|
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: How can I deactivate "common words" in the search functi

Post by Oyabun1 »

Did you follow the instructions in the explanation for that setting and recreate the search index?
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
Farofylakas
Registered User
Posts: 138
Joined: Tue Oct 09, 2012 10:00 am

Re: How can I deactivate "common words" in the search functi

Post by Farofylakas »

you're quite right. I forgot to recreate the search index. Now that I did, and after setting the Common word threshold to 50%, I finally get results for "game"!

Thanks a lot!
:D
Locked

Return to “[3.0.x] Support Forum”