Declare child mapping:
curl -XPUT 'http://localhost:9200/test' -d '{
"settings": {
"analysis": {
"analyzer": {
"fullfields": {
"tokenizer" : "keyword",
"filter" : ["lowercase"],
"analyzer": "keyword"