首页 > Web开发 > 详细

Elasticsearch-json查询

时间:2015-08-27 11:23:33      阅读:313      评论:0      收藏:0      [点我收藏+]

curl -l -H "Content-type: application/json" -X POST -d  ‘{
  "query": {
    "bool": {
      "must": [
        {
          "term": {
            "products.brandId": "3"
          }
        }
      ],
      "must_not": [],
      "should": []
    }
  },
  "from": 0,
  "size": 100,
  "sort": [],
  "facets": {}
}
http://localhost:9200/_search

Elasticsearch-json查询

原文:http://my.oschina.net/gaowm/blog/497728

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!