我的弹性索引对任何查询的命中次数很多,我如何将对任何查询的命中数限制为30个。
{
"took": 216,
"timed_out": false,
"_shards": {
"total": 3,
"successful": 3,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 32974167,
"max_score": null,
"hits": [
{
我应该得到这样的输出。
"hits": {
"total": 29,
"max_score": null,
"hits": [
{