DROP TABLE IF EXISTS memos;
SET NAMES UTF8MB4;
CREATE TABLE memos (
id INT UNSIGNED,
content TEXT,
FULLTEXT INDEX(content)
) DEFAULT CHARSET UTF8MB4;
INSERT INTO memos VALUES(1, "Groonga is a full text search engine.");
INSERT INTO memos VALUES(2, "Mroonga is Groonga + MySQL.");
INSERT INTO memos VALUES(3, "Mroonga can work with MariaDB.");
INSERT INTO memos VALUES(4, "Groonga is great!");
SELECT * FROM memos
WHERE MATCH(content) AGAINST("+Groonga" IN BOOLEAN MODE) AND
id NOT IN (1, 2)
ORDER BY id;
id	content
4	Groonga is great!
SHOW STATUS LIKE 'mroonga_condition_push_down';
Variable_name	Value
Mroonga_condition_push_down	1
DROP TABLE memos;
