强文本能否有人告诉我这是什么Elasticsearch错误,该错误引发我解释性查询192.132.4.43:9200/search/_search&explain=true
{
"error": {
"root_cause": [
{
"type": "invalid_type_name_exception",
"reason": "Document mapping type name can't start with '_', found: [_search&explain=true]"
}
],
"type": "invalid_type_name_exception",
"reason": "Document mapping type name can't start with '_', found: [_search&explain=true]"
},
"status": 400
}
不带解释的查询效果很好,但是当我打电话给解释时,抛出此错误。 Elasticsearch是6。
答案 0 :(得分:2)
您的网址中有一个小错字
192.132.4.43:9200/search/_search?explain=true
^
|
use ? here instead of &