[Type removal] Remove redundant _type in pipeline simulate action (#3371)

Signed-off-by: Suraj Singh <surajrider@gmail.com>
This commit is contained in:
Suraj Singh 2022-05-18 10:43:32 -07:00 committed by GitHub
parent 76b5ea6309
commit 892e9846b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View File

@ -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\""

View File

@ -134,7 +134,6 @@ teardown:
"docs": [ "docs": [
{ {
"_index": "index", "_index": "index",
"_type": "type",
"_id": "id", "_id": "id",
"_source": { "_source": {
"field": "abc2xyz" "field": "abc2xyz"

View File

@ -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")