I have a table named 'fact' with title column, that should be full text index.
Firstly, I add a full text index:
ALTER TABLE fact ADD FULLTEXT title_fts (title)
So, I insert row:
INSERT INTO fact (id, title) VALUES ('1', 'red blue yellow ok green grey ten first wise form');
And then I perform search:
select * from fact f where contains (f.title, '"red" or "blue"')
When I perform the following query, or any other query with 'contains' statement, I get emtpy result set:
I have to use this statement, not against-match or like. Does anyone happen to have an idea why is this happening? Thank you.
match against
syntax – Macro