Categorizing using Elasticsearch: fixed typo: "type":"data"