I have a FULLTEXT index called cart_product_fti
on a table
Whenever I use it, I have to list all the fields that are in the index exactly:
MATCH (foo,bar,etc)
My thoughts are, if later I decide to add/remove a field to the index, all the scripts are going to have to be updated or they will be broken.
So I am wondering if there is a way to get a list of all the fields in the index and then insert the list into my MATCH()
so it won't have to be updated if a change is made to the FULLTEXT index?