lib/groonga/client/searcher/schema_synchronizer.rb in groonga-client-rails-0.9.5 vs lib/groonga/client/searcher/schema_synchronizer.rb in groonga-client-rails-0.9.6

- old
+ new

@@ -96,9 +96,12 @@ parameters[:key_type] = "ShortText" parameters[:default_tokenizer] = "TokenBigram" parameters[:normalizer] = "NormalizerAuto" else parameters[:key_type] = column.type + if column.text_family_type? + parameters[:normalizer] = "NormalizerAuto" + end end Client.open do |client| client.table_create(parameters) end end