summaryrefslogtreecommitdiff
path: root/storage/mroonga/mysql-test/mroonga/wrapper/r/create_table_tokenizer_comment.result
blob: 34e3f88dbadfbb96b2c425bfb8dc8dbccf22b7ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
drop table if exists diaries;
create table diaries (
id int primary key auto_increment,
body text,
fulltext index body_index (body)
comment 'tokenizer "TokenBigramSplitSymbolAlphaDigit"'
) comment = 'engine "innodb"' default charset utf8;
insert into diaries (body) values ("will start Groonga!");
insert into diaries (body) values ("starting Groonga...");
insert into diaries (body) values ("started Groonga.");
select * from diaries;
id	body
1	will start Groonga!
2	starting Groonga...
3	started Groonga.
select * from diaries where match(body) against("+start" in boolean mode) order by id;
id	body
1	will start Groonga!
2	starting Groonga...
3	started Groonga.
drop table diaries;