Skip to content

Commit

Permalink
index as keywords (#24)
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 645813c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/import-channels-into-elasticsearch
Original file line number Diff line number Diff line change
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

1 comment on commit 645813c

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.