MySQL Forums
Forum List  »  Full-Text Search

Re: MariaDB and MATCH AGAINST Query
Posted by: Rick James
Date: August 02, 2016 06:16PM

The Engine makes a big difference. See

Also, what is the [searchterm] for which you got no results?


(MATCH(b.title, b.shtext, b.lotext) AGAINST('[searchterm]'))
OR (b.title LIKE '%[searchterm]%' OR b.shtext LIKE '%[searchterm]%' OR b.lotext LIKE '%[searchterm]%')

does not make sense, since the MATCH should give a subset of the rows that the rest gives. Well, it could give a superset - if plurals are involved. In any case, it is quite redundant and very slow.

Options: ReplyQuote

Written By
August 01, 2016 08:30AM
Re: MariaDB and MATCH AGAINST Query
August 02, 2016 06:16PM
August 11, 2016 12:45AM
August 11, 2016 06:34AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.