Skip to content

Commit c4fbe7c

Browse files
[Type removal] Remove redundant _type in pipeline simulate action (#3371) (#3374)
Signed-off-by: Suraj Singh <[email protected]> (cherry picked from commit 892e984) Co-authored-by: Suraj Singh <[email protected]>
1 parent 50d9a5e commit c4fbe7c

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

client/rest-high-level/src/test/java/org/opensearch/client/IngestRequestConvertersTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ public void testSimulatePipeline() throws IOException {
121121
+ " \"docs\": ["
122122
+ " {"
123123
+ " \"_index\": \"index\","
124-
+ " \"_type\": \"_doc\","
125124
+ " \"_id\": \"id\","
126125
+ " \"_source\": {"
127126
+ " \"foo\": \"rab\""

modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/120_grok.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ teardown:
134134
"docs": [
135135
{
136136
"_index": "index",
137-
"_type": "type",
138137
"_id": "id",
139138
"_source": {
140139
"field": "abc2xyz"

server/src/internalClusterTest/java/org/opensearch/ingest/IngestClientIT.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ public void testSimulate() throws Exception {
111111
.startArray("docs")
112112
.startObject()
113113
.field("_index", "index")
114-
.field("_type", "type")
115114
.field("_id", "id")
116115
.startObject("_source")
117116
.field("foo", "bar")

0 commit comments

Comments
 (0)