Hello,
I have 2 tables:
- products
- sites
I want to join tables by products.site_id = sites.id and preform MATCH AGAINST search on joined table on 2 fields:
products.title
sites.title
I’m not sure how this should be done with mysql.
Both title fields are varchar types, which means I should create indexes for them.
I tried doing index for each:
CREATE INDEX title_index ON products(title)
CREATE INDEX title_index ON sites(title)
But now even this won’t work:
SELECT * FROM products WHERE MATCH (title) AGAINST ('search string')
It will give me:
#1191 - Can’t find FULLTEXT index matching the column list
Any help how to solve this issue is highly appreciated.
Thanks