add elasticsearch mappings configuration