[Type removal] Remove redundant _type in pipeline simulate action (#3371)
Signed-off-by: Suraj Singh <surajrider@gmail.com>
This commit is contained in:
parent
76b5ea6309
commit
892e9846b5
|
@ -121,7 +121,6 @@ public class IngestRequestConvertersTests extends OpenSearchTestCase {
|
||||||
+ " \"docs\": ["
|
+ " \"docs\": ["
|
||||||
+ " {"
|
+ " {"
|
||||||
+ " \"_index\": \"index\","
|
+ " \"_index\": \"index\","
|
||||||
+ " \"_type\": \"_doc\","
|
|
||||||
+ " \"_id\": \"id\","
|
+ " \"_id\": \"id\","
|
||||||
+ " \"_source\": {"
|
+ " \"_source\": {"
|
||||||
+ " \"foo\": \"rab\""
|
+ " \"foo\": \"rab\""
|
||||||
|
|
|
@ -134,7 +134,6 @@ teardown:
|
||||||
"docs": [
|
"docs": [
|
||||||
{
|
{
|
||||||
"_index": "index",
|
"_index": "index",
|
||||||
"_type": "type",
|
|
||||||
"_id": "id",
|
"_id": "id",
|
||||||
"_source": {
|
"_source": {
|
||||||
"field": "abc2xyz"
|
"field": "abc2xyz"
|
||||||
|
|
|
@ -111,7 +111,6 @@ public class IngestClientIT extends OpenSearchIntegTestCase {
|
||||||
.startArray("docs")
|
.startArray("docs")
|
||||||
.startObject()
|
.startObject()
|
||||||
.field("_index", "index")
|
.field("_index", "index")
|
||||||
.field("_type", "type")
|
|
||||||
.field("_id", "id")
|
.field("_id", "id")
|
||||||
.startObject("_source")
|
.startObject("_source")
|
||||||
.field("foo", "bar")
|
.field("foo", "bar")
|
||||||
|
|
Loading…
Reference in New Issue