为什么我在查询的时候,使用了profile,但是查询结果却没有profile相关内容?
我的环境es7.9.3
GET /bank/_search?q=lastname:Adams
{
"profile": true
}
查询结果
{"took": 4, "timed_out": false, "_shards": { "total": 1, "successful": 1, "skipped": 0, "failed": 0 }, "hits": { "total": { "value": 1, "relation": "eq" }, "max_score": 6.5032897, "hits": [{ "_index": "bank", "_type": "_doc", "_id": "18", "_score": 6.5032897, "_source": { "account_number": 18, "balance": 4180, "firstname": "Dale", "lastname": "Adams", "age": 33, "gender": "M", "address": "467 Hutchinson Court", "employer": "Boink", "email": "daleadams@boink.com", "city": "Orick", "state": "MD" } }] }}
我的环境es7.9.3
GET /bank/_search?q=lastname:Adams
{
"profile": true
}
查询结果
{"took": 4, "timed_out": false, "_shards": { "total": 1, "successful": 1, "skipped": 0, "failed": 0 }, "hits": { "total": { "value": 1, "relation": "eq" }, "max_score": 6.5032897, "hits": [{ "_index": "bank", "_type": "_doc", "_id": "18", "_score": 6.5032897, "_source": { "account_number": 18, "balance": 4180, "firstname": "Dale", "lastname": "Adams", "age": 33, "gender": "M", "address": "467 Hutchinson Court", "employer": "Boink", "email": "daleadams@boink.com", "city": "Orick", "state": "MD" } }] }}
3 个回复
Charele - Cisco4321
赞同来自: hgditren
zmc - ES PAAS、JuiceFS
赞同来自:
f_on
赞同来自: