I am trying to upgrade the search on my website.
I have stumbled across CONTAINS.
I have set the columns that I want to search to FULLTEXT.
What am I missing?
title = Test is what i'm doing
SELECT * FROM test WHERE title LIKE "%Test%"
Works Fine.
SELECT * FROM test WHERE CONTAINS('*', "'Test*'")
Returns nothing.
I have tried
SELECT * FROM test WHERE CONTAINS(title, "Test")
and everything else I could think of.
Everything with Contains returns nothing.
Here is my table structure.
Action Keyname Type Unique Packed Column Cardinality Collation Null Comment
Edit Drop PRIMARY BTREE Yes No ID 15642 A
Edit Drop title FULLTEXT No No title 1 YES
What am I missing here?
I am using MySQL 5.5