PDA

View Full Version : FULLTEXT search + AJAX ?


Tevhid
06-19-2007, 06:46 AM
If one wants to make use of fulltext searches, then the minimum of characters that can be given in the search field is 4 characters.

Because an AJAX driven search starts its search at even 1 character, I wanted to ask if this in some way can work with fulltext searches?

mfyvie
06-19-2007, 07:09 AM
The minimum word length is set in the mysql configuration file for the entire server. You could in theory set it down to 1 character, but I'm not sure if there would be negative implications from this. I changed mine from the default of 4 to 3.

Dismounted
06-19-2007, 07:29 AM
Check the number of characters in the input before sending the AJAX request.

Tevhid
06-19-2007, 01:24 PM
Thanx.