parent
ce2121e30e
commit
645813cbd1
|
@ -154,7 +154,7 @@ def recreate_index(es, channel):
|
||||||
settings=dict(number_of_shards=1),
|
settings=dict(number_of_shards=1),
|
||||||
mappings=dict(
|
mappings=dict(
|
||||||
properties=dict(
|
properties=dict(
|
||||||
attr_name=dict(type="text"),
|
attr_name=dict(type="keyword"),
|
||||||
name=dict(type="text"),
|
name=dict(type="text"),
|
||||||
version=dict(type="text"),
|
version=dict(type="text"),
|
||||||
description=dict(type="text"),
|
description=dict(type="text"),
|
||||||
|
@ -189,7 +189,7 @@ def recreate_index(es, channel):
|
||||||
settings=dict(number_of_shards=1),
|
settings=dict(number_of_shards=1),
|
||||||
mappings=dict(
|
mappings=dict(
|
||||||
properties=dict(
|
properties=dict(
|
||||||
option_name=dict(type="text"),
|
option_name=dict(type="keyword"),
|
||||||
description=dict(type="text"),
|
description=dict(type="text"),
|
||||||
type=dict(type="keyword"),
|
type=dict(type="keyword"),
|
||||||
default=dict(type="text"),
|
default=dict(type="text"),
|
||||||
|
|
Loading…
Reference in a new issue