To resolve this issue the max_docvalue_fileds_search parameter should be increased.
curl -X PUT "localhost:9200/index-name-*/_settings" -u user:pass -H 'Content-Type: application/json' -d'
{
"index" : {
"max_docvalue_fields_search" : 200
}
}'
curl -X PUT "localhost:9200/_template/index-template?pretty" -u user:pass -H 'Content-Type: application/json' -d'
{
"order" : 200,
"index_patterns" : [
"index-name-*"
],
"settings" : {
"index" : {
"number_of_shards" : "2",
"max_docvalue_fields_search" : 200
}
},
"mappings" : { },
"aliases" : { }
}'