赞
踩
node为ingest角色,对indexing request做预处理,主要用于数据转换为合规、期望值的场景
https://www.elastic.co/guide/en/elasticsearch/reference/7.13/ingest.html#ingest
node角色必须为:ingest
{
"description" : "...",
"processors" : [ ... ]
}
description:描述
processor: pipeline中的每个处理单元,pipeline的能力都由processor来提供
pipeline: es对indexing的doc做一些预处理的程序,pipeline可定义了很多个processor单元
PUT _ingest/pipeline/my-pipeline { "description": "My optional pipeline description", "processors": [ { "set": { "description": "My optional processor description", "field": "my-long-field", "value": 10 } }, { "lowercase": { "field": "my-keyword-field" } } ] }
对_source进行小写
POST _ingest/</
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。