File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 53
53
-- Create default index
54
54
create index pgroonga_index on v.roon using pgroonga (content);
55
55
-- Create mecab tokenizer index since we had a bug with this one once
56
- create index pgroonga_index on v.roon using pgroonga (content) with (tokenizer='TokenMecab');
57
- ERROR: relation "pgroonga_index" already exists
56
+ create index pgroonga_index_mecab on v.roon using pgroonga (content) with (tokenizer='TokenMecab');
58
57
-- Run some queries to test the index
59
58
select * from v.roon where content &@~ 'Hello';
60
59
id | content
Original file line number Diff line number Diff line change 37
37
create index pgroonga_index on v .roon using pgroonga (content);
38
38
39
39
-- Create mecab tokenizer index since we had a bug with this one once
40
- create index pgroonga_index on v .roon using pgroonga (content) with (tokenizer= ' TokenMecab' );
40
+ create index pgroonga_index_mecab on v .roon using pgroonga (content) with (tokenizer= ' TokenMecab' );
41
41
42
42
-- Run some queries to test the index
43
43
select * from v .roon where content &@~ ' Hello' ;
You can’t perform that action at this time.
0 commit comments