Search string length

  • Hey Guest, Early bird pricing on the Summer Moot (29th July - 10th August) available until April 6th, we'd love you to come. PLEASE CLICK HERE to early bird price and get 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?
 

giancarlo

Full Member
Oct 5, 2003
769
3
Jersey, Channel Islands
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
 

Martyn

Bushcrafter through and through
Aug 7, 2003
5,252
33
58
staffordshire
www.britishblades.com
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.
 

Moonraker

Need to contact Admin...
Aug 20, 2004
1,190
18
61
Dorset & France
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