Skip to content
Permalink
Browse files

index as keywords

fixes #22
  • Loading branch information
garbas committed May 11, 2020
1 parent ce2121e commit eff77222378dbf87dc05638e3d805ecb93a75808
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/import-channels-into-elasticsearch
@@ -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"),
@@ -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"),

0 comments on commit eff7722

Please sign in to comment.
You can’t perform that action at this time.