GET _search
{
“query”: {
“match_all”: {}
}
}
GET pms/product/_search
{
“query”: {
“match”: {
“name”: “简约”
}
}
}
GET pms/product/_search
{
“query” : {
“bool” : {
“must” : [
{
“match” : {
“name” : “小米”
}
}
],
“should” : [
{
“match” : {
“brand” : “米”
}
}
],
“must_not” : [
{
“match” : {
“price” :2699
}
}
]
}
}
}
参考:kibana基本操作