mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-18 19:05:06 +00:00
Merge pull request #16062 from talevy/dedot-default-rest
[Ingest] Add default separator test to dedot rest test
This commit is contained in:
commit
993092cde6
@ -1,5 +1,5 @@
|
||||
---
|
||||
"Test De-Dot Processor":
|
||||
"Test De-Dot Processor With Provided Separator":
|
||||
- do:
|
||||
ingest.put_pipeline:
|
||||
id: "my_pipeline"
|
||||
@ -31,3 +31,34 @@
|
||||
id: 1
|
||||
- match: { _source.a3b3c: "hello world" }
|
||||
|
||||
---
|
||||
"Test De-Dot Processor With Default Separator":
|
||||
- do:
|
||||
ingest.put_pipeline:
|
||||
id: "my_pipeline"
|
||||
body: >
|
||||
{
|
||||
"description": "_description",
|
||||
"processors": [
|
||||
{
|
||||
"dedot" : {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
- match: { acknowledged: true }
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test
|
||||
type: test
|
||||
id: 1
|
||||
pipeline: "my_pipeline"
|
||||
body: {"a.b.c": "hello world"}
|
||||
|
||||
- do:
|
||||
get:
|
||||
index: test
|
||||
type: test
|
||||
id: 1
|
||||
- match: { _source.a_b_c: "hello world" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user