From ad0e916fb7a53a3763302afa278557eddd4d2c0f Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Mon, 13 Aug 2012 12:42:11 +0200 Subject: [PATCH] don't allow an empty type in the mapper service --- .../java/org/elasticsearch/index/mapper/MapperService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/elasticsearch/index/mapper/MapperService.java b/src/main/java/org/elasticsearch/index/mapper/MapperService.java index be9b54a3ab2..6bfac74e648 100644 --- a/src/main/java/org/elasticsearch/index/mapper/MapperService.java +++ b/src/main/java/org/elasticsearch/index/mapper/MapperService.java @@ -191,6 +191,9 @@ public class MapperService extends AbstractIndexComponent implements Iterable