public boolean isParent(String type) { return mapperService.getParentTypes().contains(type); }
public boolean isParent(String type) { return mapperService.getParentTypes().contains(type); }
String parentType = newMapper.parentFieldMapper().type(); if (parentType.equals(mapping.value.type()) && mapperService.getParentTypes().contains(parentType) == false) { throw new IllegalArgumentException("can't add a _parent field that points to an " + "already existing type, that isn't already a parent");
public boolean isParent(String type) { return mapperService.getParentTypes().contains(type); }
public boolean isParent(String type) { return mapperService.getParentTypes().contains(type); }
public boolean isParent(String type) { return mapperService.getParentTypes().contains(type); }
String parentType = newMapper.parentFieldMapper().type(); if (parentType.equals(mapping.value.type()) && mapperService.getParentTypes().contains(parentType) == false) { throw new IllegalArgumentException("can't add a _parent field that points to an " + "already existing type, that isn't already a parent");
String parentType = newMapper.parentFieldMapper().type(); if (parentType.equals(mapping.value.type()) && mapperService.getParentTypes().contains(parentType) == false) { throw new IllegalArgumentException("can't add a _parent field that points to an " + "already existing type, that isn't already a parent");
String parentType = newMapper.parentFieldMapper().type(); if (parentType.equals(mapping.value.type()) && mapperService.getParentTypes().contains(parentType) == false) { throw new IllegalArgumentException("can't add a _parent field that points to an " + "already existing type, that isn't already a parent");
String parentType = newMapper.parentFieldMapper().type(); if (parentType.equals(mapping.value.type()) && indexService.mapperService().getParentTypes().contains(parentType) == false) { throw new IllegalArgumentException("can't add a _parent field that points to an " + "already existing type, that isn't already a parent");