Skip to content

Commit

Permalink
tool many-segment: use not TABLE_PAT_KEY
Browse files Browse the repository at this point in the history
TABLE_PAT_KEY is optimized for reusing buffers.
  • Loading branch information
kou committed Apr 5, 2019
1 parent dba9acf commit 2239474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate-many-segment-data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
index_column_flags += "|WITH_SECTION"
end
puts(<<-COMMANDS)
table_create Terms TABLE_PAT_KEY ShortText \
table_create Terms TABLE_HASH_KEY ShortText \
--normalizer NormalizerNFKC100 \
--default_tokenizer TokenRegexp
column_create Terms index #{index_column_flags} Data #{columns.join(",")}
Expand Down

0 comments on commit 2239474

Please sign in to comment.