'How can I put inside a curator project a suggester field (ElasticSearch)
My question is simple, I only want to know how can I add a field "suggester" correctly inside a curator project, because the next configuration not adds the field:
5:
action: create_index
description: "Create new index for recipes"
options:
name: '<active-recipes-{now+1d{yyyyMMdd}}>'
continue_if_exception: True
extra_settings:
mappings:
properties:
...
suggest:
type: completion,
analyzer: simple,
search_analyzer: simple
Solution 1:[1]
The answer is delete the commas, I learned because this break production, so not put any commas in curator...
5:
action: create_index
description: "Create new index for recipes"
options:
name: '<active-recipes-{now+1d{yyyyMMdd}}>'
continue_if_exception: True
extra_settings:
mappings:
properties:
...
suggest:
type: completion
analyzer: simple
search_analyzer: simple
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Miquel Angel Cabot |