We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9d16ee commit c732d99Copy full SHA for c732d99
qa/full-cluster-restart/src/test/java/org/elasticsearch/upgrades/FullClusterRestartIT.java
@@ -1269,7 +1269,7 @@ private void indexRandomDocuments(
1269
}
1270
1271
private void indexDocument(String id) throws IOException {
1272
- final Request indexRequest = new Request("POST", "/" + index + "/" + "_doc/" + id);
+ final Request indexRequest = new Request("POST", "/" + index + "/" + type + "/" + id);
1273
indexRequest.setJsonEntity(Strings.toString(JsonXContent.contentBuilder().startObject().field("f", "v").endObject()));
1274
assertOK(client().performRequest(indexRequest));
1275
0 commit comments