私のコードは
curl -XGET 'http://localhost:9200/web/_suggest?pretty' -d '
{ "brand-suggest": {"completion": {"field": "nameSuggest","size": "5","context": { "private": "false" }}, "text": "sampl"}}'
Elasticsearch の提案クエリを試行中にエラーが発生しました。
"index" : "webpage",
"shard" : 4,
"status" : 500,
"reason" : "BroadcastShardOperationFailedException[[tellofy][4] ]; nested: ElasticsearchException[failed to execute suggest]; nested: ElasticsearchIllegalArgumentException[suggester [completion] doesn't expect any context]; "
}
上記のエラーの理由は何ですか。そのエラーの原因を見つけることができません。