使用 dmesg 来查看一些硬件或驱动程序的信息或问题。

next_doc耗时较长怎么优化?

Elasticsearch | 作者 yuyuan | 发布于2023年02月27日 | 阅读数:2783

查询语句:
{
    "query": {
        "match": {
            "tessContext": "addition variables data: 28 69 43 32 42 72 66 49 70 60 250 550 575 11 15 31 34 10 6 2 where: amount"
        }
    },
    "_source": ["questionId", "spiderStatus", "tessContext", "deleteStatus"],
    "size": 100
}
索引映射:
"mappings": {"_doc": {

"properties": {

"lengLabel": {

"type": "long"

},
"spiderStatus": {

"type": "long"

},
"tessContext": {

"fielddata": true,
"type": "text",
"fields": {

"keyword": {

"ignore_above": 256,
"type": "keyword"

}

}

},
"questionId": {

"type": "long"

},
"deleteStatus": {

"type": "long"

},
"_class": {

"type": "text",
"fields": {

"keyword": {

"ignore_above": 256,
"type": "keyword"

}

}

},
"courseId": {

"type": "long"

},
"subjectId": {

"type": "long"

}

}

}}
es7.12.1 三台服务器集群 ,数据7000w 
微信图片_20230227140229.png
已邀请:

要回复问题请先登录注册