Does full text automatically eliminate common words from it's index? I've been playing around with various queries to see what kind of results were returned, and so far the outcome hasn't been great - I'm going to assume more due to my lack of knowledge, not due to MySQL at this point, but I'm curious...
I did the following query, because the word 'you' turns up multiple times in multiple rows:
Code:
SELECT * ,
MATCH (author, summary, description)
AGAINST ('zend') AS Relevance
FROM `support`
HAVING Relevance > 0.2
ORDER BY Relevance DESC
LIMIT 0 , 30
No results returned, despite knowing the word is in there. So I removed the relevance portion, now all rows with the word in it are returned, but all have a relevance of 0. So I'm going to hope this is simply because MySQL's fulltext has the ability to ignore common words? If so, this seems like something that would be better off left in the control of ... well me, than MySQL, but okay.
Next, I tried searching on 'zend' because my table includes sample data copy and pasted from these forums, and I know it's in there. No results. Wait, if I change it to Zend, I get a result. So apparently fulltext is also case sensitive....
Okay, wait again, as I'm going through the manual I found the list of stopwords, and yes, 'you' is definitely one. So bad me, I should read first, write later.
Still can't find anything about searches being case sensitive though. Seems to be a nice feature, but it may be in my best interest at this point to use it as a means to an end - I think I may continue to look into developing a seperate table based search, but using fulltext may help build the spider and the final query still.
-m