|
|
@@ -89,9 +89,6 @@ public class RestGetMappingAction extends BaseRestHandler {
|
|
|
|
|
|
builder.startObject();
|
|
|
for (ObjectObjectCursor<String, ImmutableOpenMap<String, MappingMetaData>> indexEntry : mappingsByIndex) {
|
|
|
- if (indexEntry.value.isEmpty()) {
|
|
|
- continue;
|
|
|
- }
|
|
|
builder.startObject(indexEntry.key);
|
|
|
builder.startObject(Fields.MAPPINGS);
|
|
|
for (ObjectObjectCursor<String, MappingMetaData> typeEntry : indexEntry.value) {
|