{
"query":{
"constant_score":{
"filter":{
"bool":{
"must_not":{
"bool":{
"must_not":[
{
"wildcard":{
"content":"*"
}
},
{
"term":{
"user_id":241448230
}
}
]
}
},
"must":[
{
"term":{
"is_online":true
}
},
{
"term":{
"is_deleted":false
}
},
{
"term":{
"pictorial_id":1
}
}
]
}
}
}
}
}
elasticsearch filtered and the empty string plus some small filters
Guess you like
Origin www.cnblogs.com/lixiaofang-123/p/11543908.html
Recommended
Ranking