0

Sorry, if my question is naive, but it has puzzled me, and cannot benchmark the performance.

I want to use the newly introduced feature of innoDB for FULLTEXT index. I wonder what is the difference of

FULLTEXT(title,body)

and

FULLTEXT(title),
FULLTEXT(body

Is there any effect on the search performance and the ranking of results.

1

For InnoDB,

FULLTEXT(title,body) -- useful only for MATCH(title, body) AGAINST ...

FULLTEXT(title) -- useful only for MATCH(title) AGAINST ...

So, if you are doing both types of MATCH, you need both indexes.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.