Change minimum search term length to two characters?

Have a suggestion for the website or forum? Post it here.
Post Reply
AnonymousPerson
Posts: 758
Joined: Sun Apr 26, 2015 1:16 pm
Location: 3753 Cruithne

Change minimum search term length to two characters?

Post by AnonymousPerson » Fri Mar 23, 2018 5:04 pm

Just found an inconvenient problem when doing advanced searching... search terms by default in phpBB must be 3 characters or more.

Kind of a problem when one of the mandatory search terms (for filtering) is +"nc".

Would it be feasible to adjust the search term length down to 2 chars minimum? Apparently it's fairly easy to do in phpBB, though I've not run up a local instance to try things out:

[*] Admin Control Panel -> General-> Search settings -> Min characters indexed by search

It may need the indexes rebuilt afterwards too. eg Delete then create them. Apparently also somewhere in the Admin Control Panel. :smile:

For reference, the search terms I was using were:

Code: Select all

+"limit switch kit" +"nc"
With the "nc" being ignored... there are still 100+ matches. Not impossible to sift through... but well... perhaps 2 chars should be considered ok for searching on. ;)
Shapeoko 3 #516

twforeman
Posts: 1347
Joined: Tue Jan 29, 2013 4:51 pm
Location: Minneapolis, MN
Contact:

Re: Change minimum search term length to two characters?

Post by twforeman » Wed Apr 04, 2018 5:57 pm

The board is setup to use the mysql search settings. The search length is set by a mysql setting and I'm not sure that I want to change it.

Setting the length down from 4 to 2 will probably cause some DB inflation and probably slow down searching.
Ender 3 3D Printer
ShapeOko v3 serial #0004 - upgrade thread
All of my ShapeOko related blog posts

AnonymousPerson
Posts: 758
Joined: Sun Apr 26, 2015 1:16 pm
Location: 3753 Cruithne

Re: Change minimum search term length to two characters?

Post by AnonymousPerson » Fri Apr 06, 2018 1:12 am

No worries, it was just a thought. :)
Shapeoko 3 #516

Post Reply