Skip to content

Commit

Permalink
index as keywords
Browse files Browse the repository at this point in the history
fixes #22
  • Loading branch information
garbas committed May 11, 2020
1 parent ce2121e commit eff7722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/import-channels-into-elasticsearch
Expand Up @@ -154,7 +154,7 @@ def recreate_index(es, channel):
settings=dict(number_of_shards=1),
mappings=dict(
properties=dict(
attr_name=dict(type="text"),
attr_name=dict(type="keyword"),
name=dict(type="text"),
version=dict(type="text"),
description=dict(type="text"),
Expand Down Expand Up @@ -189,7 +189,7 @@ def recreate_index(es, channel):
settings=dict(number_of_shards=1),
mappings=dict(
properties=dict(
option_name=dict(type="text"),
option_name=dict(type="keyword"),
description=dict(type="text"),
type=dict(type="keyword"),
default=dict(type="text"),
Expand Down

0 comments on commit eff7722

Please sign in to comment.