We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d969ad commit 8ea019aCopy full SHA for 8ea019a
src/main/java/org/elasticsearch/rest/action/admin/indices/mapping/get/RestGetMappingAction.java
@@ -116,10 +116,10 @@ public void onResponse(ClusterStateResponse response) {
116
builder.field(mappingMd.type());
117
builder.map(mappingMd.sourceAsMap());
118
}
119
-
+
120
if (indexMetaData.mappings().values().isEmpty() && types.isEmpty()) {
121
// if no types are specified and no mappings are set for the index, consider this an empty mapping
122
- foundAny = true;
+ foundAny = true;
123
124
125
builder.endObject();
0 commit comments