我们有一个文本字段,其中包含带有首字母的人名,这些首字母不一致(有些地方用空格/点分隔,有些地方不)。
例如:- GJ Raja,G。J.拉贾,GJ 拉贾,GJ 拉贾...
我尝试了以下解决方案,但无法获得预期的解决方案
输入:- GJ Raja
输出:- GJ Raja,G。J.拉贾,GJ 拉贾,GJ 拉贾
重新索引时无法传递多个管道
当我在重新索引主体中传递两个管道时,我遇到了异常
{
"error": {
"root_cause": [
{
"type": "x_content_parse_exception",
"reason": "[7:17] [dest] pipeline doesn't support values of type: START_ARRAY"
}
],
"type": "x_content_parse_exception",
"reason": "[7:17] [reindex] failed to parse field [dest]",
"caused_by": {
"type": "x_content_parse_exception",
"reason": "[7:17] [dest] pipeline doesn't support values of type: START_ARRAY"
}
},
"status": 400
}
Run Code Online (Sandbox Code Playgroud)
{
"source": {
"index": "elastic_v1"
},
"dest": {
"index": "elastic_v2",
"pipeline": ["coram_count_script_pipeline","counsel_nested_split_foreach_pipeline"]
}
}
Run Code Online (Sandbox Code Playgroud)
他们有解决这个问题的方法吗?还是我们需要多次重新索引