Search string length

  • Come along to the amazing Summer Moot (21st July - 2nd August), a festival of bushcrafting and camping in a beautiful woodland PLEASE CLICK HERE for more information.

match

Settler
Sep 29, 2004
707
8
Edinburgh
Just noticed there appears to be a limit that you can't search for words of 3 characters or less in the search page.

This means that I can't do a search through the forums for 'axe', 'GB', 'fak' etc.

Any chance this is a tuneable setting?
 
I don't think this can be dropped any further down, it's due to how the search indexes the site.
If it goes down to 2 /3 words then it starts looking at everything like "an" , "and" , "we".
Which will then slow the site down considerably.

Tony could have a look in the admin, but I think it's set to a 3 for this reason.

Cheers
Carlo
 
It can be lowered, but the impact on the server is huge.

Just use a wilcard - and asterisk - beore or/and after the word:

axe*
*GB*
fak*

etc....

the asterisk counts as a character for the search, but it will also yield other words, so a search for axe* will give you "axe" and "axed" etc.
 
Martyn said:
It can be lowered, but the impact on the server is huge.

Just use a wilcard - and asterisk - beore or/and after the word:

axe*
*GB*
fak*

etc....

the asterisk counts as a character for the search, but it will also yield other words, so a search for axe* will give you "axe" and "axed" etc.
Good tip, thanks Martyn :)
 

BCUK Shop

We have a a number of knives, T-Shirts and other items for sale.

SHOP HERE