打卡,只是打卡,又是打卡,还是打卡,发卡卡

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/eases_stone/article/details/84328077
GET zebra_geo_poi/poi_data/_search
{
  "query": {
    "bool": {
      "must": [
         {
          "match": {
            "source": "dzdp"
          }
         }, {
           "bool": {
             "should": [
               {
                 "match": {
                   "first_type": "100"
                 }
               }, {
                 "match": {
                   "first_type": "101"
                 }
               }, {
                 "match": {
                   "first_type": "103"
                 }
               }, {
                 "match": {
                   "first_type": "104"
                 }
               }
             ]
           }
         }, {
           "nested": {
             "path": "expansion",
             "query": {
               "bool": {
                 "must": [
                   {
                      "range": {
                       "expansion.avg_price": {
                         "gte": 10
                       }
                     }
                   }, {
                      "exists": {
                        "field":"expansion.shop_image_url"
                      }
                   }, {
                      "exists": {
                        "field":"expansion.shop_comment_tags"
                      }
                   }, {
                      "exists": {
                        "field":"expansion.shop_tags"
                      }
                   }
                 ]
               }
             }
           }
         }, {
           "match": {
             "province": "北京市"
           }
         }
      ]
    }
  }
}

猜你喜欢

转载自blog.csdn.net/eases_stone/article/details/84328077