curl localhost:9200/tweet/posts/_search -d '{
"query": {
"and": [
{
"wildcard": {
"_all": "*pet*"
}
},
{
"wildcard": {
"_all": "*rom*"
}
}
]
}
}'
Run Code Online (Sandbox Code Playgroud)
这给了我一个解析异常.我想运行like(%test%)带有AND条件的MySQL 类型查询.在弹性搜索中还有其他好的方法吗?