Put back the old ElasticSearchService class and modified MapperTypeSanitizer class to allow documentType to be null