慕婉清1549775
2019-01-08 17:50
{
"query":{
"query_string":{
"query":"入门",
"fileds":["title","author"]
}
}
}
send之后报错:
{
"error": {
"root_cause": [
{
"type": "parsing_exception",
"reason": "[query_string] query does not support [fileds]",
"line": 5,
"col": 20
}
],
"type": "parsing_exception",
"reason": "[query_string] query does not support [fileds]",
"line": 5,
"col": 20
},
"status": 400
}
是你fileds写错了,正确的是fields
ElasticSearch入门
67740 学习 · 302 问题
相似问题