elasticsearchでクエリをパーコレートしようとしていますが、docsで説明されているようにインデックスを作成しています。エラーが表示されます。私は次のことを実行しました。パーコレートクエリのインデックスを作成する
PUT /my_percolate_index
{
"mappings": {
"doctype": {
"properties": {
"message": {
"type": "text"
}
}
},
"queries": {
"properties": {
"query": {
"type": "percolator"
}
}
}
}
}
私は次のエラーで迎えています:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [my_percolate_index] as the final mapping would have more than 1 type: [doctype, queries]"
}
],
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [my_percolate_index] as the final mapping would have more than 1 type: [doctype, queries]"
},
"status": 400
}
は、私はここで何かが足りないのですか?
使用しているESのバージョンは何ですか? – Val
'ES 6.0.0-alpha1'と' NEST 6.0.0-alpha1' –