- must&must_not
{
"bool": {
"must": [
{
"terms": {
"userId": [
447903135814651900,
447802362057461760
]
}
},
{
"term": {
"status": 3
}
}
],
"must_not": [
{

本文深入探讨了ElasticSearch的搜索片段功能,包括如何使用must和must_not条件进行精确查询。通过实例解析,阐述了如何在搜索中排除特定条件,提升检索效率和精准度。
最低0.47元/天 解锁文章

1100

被折叠的 条评论
为什么被折叠?



