PDA

View Full Version : Querying "C++" not working....


aoneill
11-21-2005, 09:59 PM
Hi,

I've got LIKE queries switched off and am having problems if I enter the text C++ in the search box - basically it doesn't find any results. I have set ft_min_word_len to 2 and other 3 character searches are working OK. I've tried "C++", C++, +"C++" etc. all to no avail.

Does anybody have any ideas?

Thanks,
Andy

Winston
11-23-2005, 10:35 PM
Hi, when you have LIKE queries turned off, the MATCH AGAINST queries take over so MySQL then treats special characters such as + and - as delimiters so queries such as C++ and t-shirt do not return results.