我如何把一个策展人项目建议字段(ElasticSearch)



我的问题很简单,我只想知道如何添加一个字段"建议"正确地在策展人项目中,因为下一个配置没有添加字段:

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

答案是删除逗号,我学会了,因为这中断生产,所以不放任何逗号在策展人…

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

相关内容

  • 没有找到相关文章

最新更新