DSL 语法介绍

语法 范围
/_search 集群上搜索所有的索引
/index1/_search index1
/index1,index2/_search index1和index2
/index*/_search 以index开头的索引

RUL 查询;使用q,指定查询字符串,查询内容是kv键值对

  1. curl -XGET "http://127.0.0.1:9200/kibana_sample_data_ecommerce/_search?q=customer_first_name:Eddie"
  2.  
  3. {"took":3,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":100,"relation":"eq"},"max_score":4.016948,"hits":[{"_index":"kibana_sample_dat
  4. a_ecommerce","_type":"_doc","_id":"UXYbP24B9uEN4vPiBjWP","_score":4.016948,"_source":{"category":["Men's Clothing"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Underwood","customer_gender":"MALE","customer_id":38,"customer_last_name":"Underwood","customer_phone":"","day_of_week":"Monday","day_of_week_i":0,"email":"eddie@underwood-family.zzz","manufacturer":["Elitelligence","Oceanavigations"],"order_date":"2019-11-25T09:28:48+00:00","order_id":584677,"products":[{"base_price":11.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":6283,"category":"Men's Clothing","sku":"ZO0549605496","taxless_price":11.99,"unit_discount_amount":0,"min_price":6.35,"_id":"sold_product_584677_6283","discount_amount":0,"created_on":"2016-12-26T09:28:48+00:00","product_name":"Basic T-shirt - dark blue/white","price":11.99,"taxful_price":11.99,"base_unit_price":11.99},{"base_price":24.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":19400,"category":"Men's Clothing","sku":"ZO0299602996","taxless_price":24.99,"unit_discount_amount":0,"min_price":11.75,"_id":"sold_product_584677_19400","discount_amount":0,"created_on":"2016-12-26T09:28:48+00:00","product_name":"Sweatshirt - grey multicolor","price":24.99,"taxful_price":24.99,"base_unit_price":24.99}],"sku":["ZO0549605496","ZO0299602996"],"taxful_total_price":36.98,"taxless_total_price":36.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"VXYbP24B9uEN4vPiBjWP","_score":4.016948,"_source":{"category":["Men's Clothing","Men's Accessories"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Weber","customer_gender":"MALE","customer_id":38,"customer_last_name":"Weber","customer_phone":"","day_of_week":"Monday","day_of_week_i":0,"email":"eddie@weber-family.zzz","manufacturer":["Elitelligence"],"order_date":"2019-11-18T03:48:58+00:00","order_id":574916,"products":[{"base_price":59.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":11262,"category":"Men's Clothing","sku":"ZO0542505425","taxless_price":59.99,"unit_discount_amount":0,"min_price":28.2,"_id":"sold_product_574916_11262","discount_amount":0,"created_on":"2016-12-19T03:48:58+00:00","product_name":"Winter jacket - black","price":59.99,"taxful_price":59.99,"base_unit_price":59.99},{"base_price":20.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":15713,"category":"Men's Accessories","sku":"ZO0601306013","taxless_price":20.99,"unit_discount_amount":0,"min_price":10.7,"_id":"sold_product_574916_15713","discount_amount":0,"created_on":"2016-12-19T03:48:58+00:00","product_name":"Watch - green","price":20.99,"taxful_price":20.99,"base_unit_price":20.99}],"sku":["ZO0542505425","ZO0601306013"],"taxful_total_price":80.98,"taxless_total_price":80.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"XHYbP24B9uEN4vPiBjWQ","_score":4.016948,"_source":{"category":["Men's Accessories","Men's Clothing"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Gregory","customer_gender":"MALE","customer_id":38,"customer_last_name":"Gregory","customer_phone":"","day_of_week":"Tuesday","day_of_week_i":1,"email":"eddie@gregory-family.zzz","manufacturer":["Angeldale","Low Tide Media","Oceanavigations","Elitelligence"],"order_date":"2019-11-26T13:10:34+00:00","order_id":718424,"products":[{"base_price":17.99,"discount_percentage":0,"quantity":1,"manufacturer":"Angeldale","tax_amount":0,"product_id":19655,"category":"Men's Accessories","sku":"ZO0700707007","taxless_price":17.99,"unit_discount_amount":0,"min_price":8.28,"_id":"sold_product_718424_19655","discount_amount":0,"created_on":"2016-12-27T13:10:34+00:00","product_name":"Belt - black","price":17.99,"taxful_price":17.99,"base_unit_price":17.99},{"base_price":10.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":12500,"category":"Men's Accessories","sku":"ZO0459704597","taxless_price":10.99,"unit_discount_amount":0,"min_price":5.06,"_id":"sold_product_718424_12500","discount_amount":0,"created_on":"2016-12-27T13:10:34+00:00","product_name":"Gloves - dark grey multicolor/bordeaux","price":10.99,"taxful_price":10.99,"base_unit_price":10.99},{"base_price":16.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":17739,"category":"Men's Clothing","sku":"ZO0293702937","taxless_price":16.99,"unit_discount_amount":0,"min_price":8.83,"_id":"sold_product_718424_17739","discount_amount":0,"created_on":"2016-12-27T13:10:34+00:00","product_name":"Long sleeved top - khaki","price":16.99,"taxful_price":16.99,"base_unit_price":16.99},{"base_price":22.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":23793,"category":"Men's Clothing","sku":"ZO0592705927","taxless_price":22.99,"unit_discount_amount":0,"min_price":11.04,"_id":"sold_product_718424_23793","discount_amount":0,"created_on":"2016-12-27T13:10:34+00:00","product_name":"Hoodie - mottled light grey","price":22.99,"taxful_price":22.99,"base_unit_price":22.99}],"sku":["ZO0700707007","ZO0459704597","ZO0293702937","ZO0592705927"],"taxful_total_price":68.96,"taxless_total_price":68.96,"total_quantity":4,"total_unique_products":4,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"XnYbP24B9uEN4vPiBjWQ","_score":4.016948,"_source":{"category":["Men's Clothing"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Wolfe","customer_gender":"MALE","customer_id":38,"customer_last_name":"Wolfe","customer_phone":"","day_of_week":"Monday","day_of_week_i":0,"email":"eddie@wolfe-family.zzz","manufacturer":["Elitelligence","Oceanavigations","Low Tide Media"],"order_date":"2019-11-18T19:59:31+00:00","order_id":715061,"products":[{"base_price":28.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":13695,"category":"Men's Clothing","sku":"ZO0590205902","taxless_price":28.99,"unit_discount_amount":0,"min_price":14.21,"_id":"sold_product_715061_13695","discount_amount":0,"created_on":"2016-12-19T19:59:31+00:00","product_name":"Sweatshirt - white","price":28.99,"taxful_price":28.99,"base_unit_price":28.99},{"base_price":199.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":16955,"category":"Men's Clothing","sku":"ZO0291402914","taxless_price":199.99,"unit_discount_amount":0,"min_price":92,"_id":"sold_product_715061_16955","discount_amount":0,"created_on":"2016-12-19T19:59:31+00:00","product_name":"Classic coat - navy","price":199.99,"taxful_price":199.99,"base_unit_price":199.99},{"base_price":24.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":16663,"category":"Men's Clothing","sku":"ZO0297002970","taxless_price":24.99,"unit_discount_amount":0,"min_price":12.25,"_id":"sold_product_715061_16663","discount_amount":0,"created_on":"2016-12-19T19:59:31+00:00","product_name":"Jumper - dark grey multicolor","price":24.99,"taxful_price":24.99,"base_unit_price":24.99},{"base_price":12.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":14513,"category":"Men's Clothing","sku":"ZO0476504765","taxless_price":12.99,"unit_discount_amount":0,"min_price":7.14,"_id":"sold_product_715061_14513","discount_amount":0,"created_on":"2016-12-19T19:59:31+00:00","product_name":"3 PACK - Shorts - Blue Violety/navy/grey","price":12.99,"taxful_price":12.99,"base_unit_price":12.99}],"sku":["ZO0590205902","ZO0291402914","ZO0297002970","ZO0476504765"],"taxful_total_price":266.96,"taxless_total_price":266.96,"total_quantity":4,"total_unique_products":4,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"H3YbP24B9uEN4vPiBjaU","_score":4.016948,"_source":{"category":["Men's Clothing"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Simpson","customer_gender":"MALE","customer_id":38,"customer_last_name":"Simpson","customer_phone":"","day_of_week":"Sunday","day_of_week_i":6,"email":"eddie@simpson-family.zzz","manufacturer":["Low Tide Media"],"order_date":"2019-11-17T06:25:55+00:00","order_id":573745,"products":[{"base_price":28.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":23923,"category":"Men's Clothing","sku":"ZO0421804218","taxless_price":28.99,"unit_discount_amount":0,"min_price":14.21,"_id":"sold_product_573745_23923","discount_amount":0,"created_on":"2016-12-18T06:25:55+00:00","product_name":"Chinos - dark blue","price":28.99,"taxful_price":28.99,"base_unit_price":28.99},{"base_price":10.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":17547,"category":"Men's Clothing","sku":"ZO0435704357","taxless_price":10.99,"unit_discount_amount":0,"min_price":5.71,"_id":"sold_product_573745_17547","discount_amount":0,"created_on":"2016-12-18T06:25:55+00:00","product_name":"Basic T-shirt - light grey multicolor","price":10.99,"taxful_price":10.99,"base_unit_price":10.99}],"sku":["ZO0421804218","ZO0435704357"],"taxful_total_price":39.98,"taxless_total_price":39.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"JHYbP24B9uEN4vPiBjaU","_score":4.016948,"_source":{"category":["Men's Clothing","Men's Shoes"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Riley","customer_gender":"MALE","customer_id":38,"customer_last_name":"Riley","customer_phone":"","day_of_week":"Thursday","day_of_week_i":3,"email":"eddie@riley-family.zzz","manufacturer":["Spritechnologies","Elitelligence","Low Tide Media"],"order_date":"2019-11-28T05:54:14+00:00","order_id":717415,"products":[{"base_price":74.99,"discount_percentage":0,"quantity":1,"manufacturer":"Spritechnologies","tax_amount":0,"product_id":19307,"category":"Men's Clothing","sku":"ZO0623206232","taxless_price":74.99,"unit_discount_amount":0,"min_price":36.75,"_id":"sold_product_717415_19307","discount_amount":0,"created_on":"2016-12-29T05:54:14+00:00","product_name":"Parka - navy blazer","price":74.99,"taxful_price":74.99,"base_unit_price":74.99},{"base_price":20.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":14146,"category":"Men's Clothing","sku":"ZO0612506125","taxless_price":20.99,"unit_discount_amount":0,"min_price":11.54,"_id":"sold_product_717415_14146","discount_amount":0,"created_on":"2016-12-29T05:54:14+00:00","product_name":"Swimming shorts - banana","price":20.99,"taxful_price":20.99,"base_unit_price":20.99},{"base_price":32.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":14250,"category":"Men's Shoes","sku":"ZO0517405174","taxless_price":32.99,"unit_discount_amount":0,"min_price":15.51,"_id":"sold_product_717415_14250","discount_amount":0,"created_on":"2016-12-29T05:54:14+00:00","product_name":"High-top trainers - grey","price":32.99,"taxful_price":32.99,"base_unit_price":32.99},{"base_price":20.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":19880,"category":"Men's Clothing","sku":"ZO0445204452","taxless_price":20.99,"unit_discount_amount":0,"min_price":11.54,"_id":"sold_product_717415_19880","discount_amount":0,"created_on":"2016-12-29T05:54:14+00:00","product_name":"Polo shirt - Medium Slate Blue","price":20.99,"taxful_price":20.99,"base_unit_price":20.99}],"sku":["ZO0623206232","ZO0612506125","ZO0517405174","ZO0445204452"],"taxful_total_price":149.96,"taxless_total_price":149.96,"total_quantity":4,"total_unique_products":4,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"PnYbP24B9uEN4vPiBjaV","_score":4.016948,"_source":{"category":["Men's Clothing"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Graham","customer_gender":"MALE","customer_id":38,"customer_last_name":"Graham","customer_phone":"","day_of_week":"Thursday","day_of_week_i":3,"email":"eddie@graham-family.zzz","manufacturer":["Low Tide Media","Oceanavigations","Elitelligence"],"order_date":"2019-11-21T16:12:00+00:00","order_id":719618,"products":[{"base_price":21.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":12461,"category":"Men's Clothing","sku":"ZO0449604496","taxless_price":21.99,"unit_discount_amount":0,"min_price":10.34,"_id":"sold_product_719618_12461","discount_amount":0,"created_on":"2016-12-22T16:12:00+00:00","product_name":"Jumper - dark blue","price":21.99,"taxful_price":21.99,"base_unit_price":21.99},{"base_price":41.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":17481,"category":"Men's Clothing","sku":"ZO0287802878","taxless_price":41.99,"unit_discount_amount":0,"min_price":20.16,"_id":"sold_product_719618_17481","discount_amount":0,"created_on":"2016-12-22T16:12:00+00:00","product_name":"Waistcoat - bright blue","price":41.99,"taxful_price":41.99,"base_unit_price":41.99},{"base_price":24.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":15234,"category":"Men's Clothing","sku":"ZO0526105261","taxless_price":24.99,"unit_discount_amount":0,"min_price":11.5,"_id":"sold_product_719618_15234","discount_amount":0,"created_on":"2016-12-22T16:12:00+00:00","product_name":"Chinos - olive","price":24.99,"taxful_price":24.99,"base_unit_price":24.99},{"base_price":10.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":12663,"category":"Men's Clothing","sku":"ZO0561005610","taxless_price":10.99,"unit_discount_amount":0,"min_price":5.93,"_id":"sold_product_719618_12663","discount_amount":0,"created_on":"2016-12-22T16:12:00+00:00","product_name":"Print T-shirt - dark blue","price":10.99,"taxful_price":10.99,"base_unit_price":10.99}],"sku":["ZO0449604496","ZO0287802878","ZO0526105261","ZO0561005610"],"taxful_total_price":99.96,"taxless_total_price":99.96,"total_quantity":4,"total_unique_products":4,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"Y3YbP24B9uEN4vPiBjaW","_score":4.016948,"_source":{"category":["Men's Clothing","Women's Accessories"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Clayton","customer_gender":"MALE","customer_id":38,"customer_last_name":"Clayton","customer_phone":"","day_of_week":"Wednesday","day_of_week_i":2,"email":"eddie@clayton-family.zzz","manufacturer":["Oceanavigations","Elitelligence"],"order_date":"2019-11-20T12:31:41+00:00","order_id":578044,"products":[{"base_price":22.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":22200,"category":"Men's Clothing","sku":"ZO0279602796","taxless_price":22.99,"unit_discount_amount":0,"min_price":11.72,"_id":"sold_product_578044_22200","discount_amount":0,"created_on":"2016-12-21T12:31:41+00:00","product_name":"Shirt - off white","price":22.99,"taxful_price":22.99,"base_unit_price":22.99},{"base_price":18.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":20111,"category":"Women's Accessories","sku":"ZO0605006050","taxless_price":18.99,"unit_discount_amount":0,"min_price":9.12,"_id":"sold_product_578044_20111","discount_amount":0,"created_on":"2016-12-21T12:31:41+00:00","product_name":"Rucksack - black/cognac","price":18.99,"taxful_price":18.99,"base_unit_price":18.99}],"sku":["ZO0279602796","ZO0605006050"],"taxful_total_price":41.98,"taxless_total_price":41.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"jHYbP24B9uEN4vPiBjaW","_score":4.016948,"_source":{"category":["Men's Accessories","Men's Clothing"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Riley","customer_gender":"MALE","customer_id":38,"customer_last_name":"Riley","customer_phone":"","day_of_week":"Sunday","day_of_week_i":6,"email":"eddie@riley-family.zzz","manufacturer":["Elitelligence","Microlutions"],"order_date":"2019-11-17T13:26:24+00:00","order_id":574129,"products":[{"base_price":24.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":19430,"category":"Men's Accessories","sku":"ZO0606706067","taxless_price":24.99,"unit_discount_amount":0,"min_price":11.75,"_id":"sold_product_574129_19430","discount_amount":0,"created_on":"2016-12-18T13:26:24+00:00","product_name":"Across body bag - black","price":24.99,"taxful_price":24.99,"base_unit_price":24.99},{"base_price":14.99,"discount_percentage":0,"quantity":1,"manufacturer":"Microlutions","tax_amount":0,"product_id":18256,"category":"Men's Clothing","sku":"ZO0118301183","taxless_price":14.99,"unit_discount_amount":0,"min_price":8.09,"_id":"sold_product_574129_18256","discount_amount":0,"created_on":"2016-12-18T13:26:24+00:00","product_name":"Print T-shirt - bright white","price":14.99,"taxful_price":14.99,"base_unit_price":14.99}],"sku":["ZO0606706067","ZO0118301183"],"taxful_total_price":39.98,"taxless_total_price":39.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"xXYbP24B9uEN4vPiBjaX","_score":4.016948,"_source":{"category":["Men's Shoes"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Garza","customer_gender":"MALE","customer_id":38,"customer_last_name":"Garza","customer_phone":"","day_of_week":"Friday","day_of_week_i":4,"email":"eddie@garza-family.zzz","manufacturer":["Angeldale","Low Tide Media"],"order_date":"2019-11-22T05:06:43+00:00","order_id":580284,"products":[{"base_price":84.99,"discount_percentage":0,"quantity":1,"manufacturer":"Angeldale","tax_amount":0,"product_id":2301,"category":"Men's Shoes","sku":"ZO0689906899","taxless_price":84.99,"unit_discount_amount":0,"min_price":42.49,"_id":"sold_product_580284_2301","discount_amount":0,"created_on":"2016-12-23T05:06:43+00:00","product_name":"Lace-up boots - Blue Violet","price":84.99,"taxful_price":84.99,"base_unit_price":84.99},{"base_price":49.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":13705,"category":"Men's Shoes","sku":"ZO0395903959","taxless_price":49.99,"unit_discount_amount":0,"min_price":25,"_id":"sold_product_580284_13705","discount_amount":0,"created_on":"2016-12-23T05:06:43+00:00","product_name":"Casual lace-ups - brown","price":49.99,"taxful_price":49.99,"base_unit_price":49.99}],"sku":["ZO0689906899","ZO0395903959"],"taxful_total_price":134.98,"taxless_total_price":134.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}}]}}

 Request Body查询,方法支持get post -H包头 -d数据

  1. [root@ES ~]# curl -XGET "http://127.0.0.1:9200/kibana_sample_data_ecommerce/_search" -H 'Content-Type:application/json' -d'
  2. {
  3. "query":{ 查询
  4. "match_all":{} 返回所有文档
  5. }
  6. }'
  7.  
  8. {"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":4675,"relation":"eq"},"max_score":1.0,"hits":[{"_index":"kibana_sample_data_ec
  9. ommerce","_type":"_doc","_id":"UXYbP24B9uEN4vPiBjWP","_score":1.0,"_source":{"category":["Men's Clothing"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Underwood","customer_gender":"MALE","customer_id":38,"customer_last_name":"Underwood","customer_phone":"","day_of_week":"Monday","day_of_week_i":0,"email":"eddie@underwood-family.zzz","manufacturer":["Elitelligence","Oceanavigations"],"order_date":"2019-11-25T09:28:48+00:00","order_id":584677,"products":[{"base_price":11.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":6283,"category":"Men's Clothing","sku":"ZO0549605496","taxless_price":11.99,"unit_discount_amount":0,"min_price":6.35,"_id":"sold_product_584677_6283","discount_amount":0,"created_on":"2016-12-26T09:28:48+00:00","product_name":"Basic T-shirt - dark blue/white","price":11.99,"taxful_price":11.99,"base_unit_price":11.99},{"base_price":24.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":19400,"category":"Men's Clothing","sku":"ZO0299602996","taxless_price":24.99,"unit_discount_amount":0,"min_price":11.75,"_id":"sold_product_584677_19400","discount_amount":0,"created_on":"2016-12-26T09:28:48+00:00","product_name":"Sweatshirt - grey multicolor","price":24.99,"taxful_price":24.99,"base_unit_price":24.99}],"sku":["ZO0549605496","ZO0299602996"],"taxful_total_price":36.98,"taxless_total_price":36.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"UnYbP24B9uEN4vPiBjWP","_score":1.0,"_source":{"category":["Women's Clothing"],"currency":"EUR","customer_first_name":"Mary","customer_full_name":"Mary Bailey","customer_gender":"FEMALE","customer_id":20,"customer_last_name":"Bailey","customer_phone":"","day_of_week":"Sunday","day_of_week_i":6,"email":"mary@bailey-family.zzz","manufacturer":["Champion Arts","Pyramidustries"],"order_date":"2019-11-24T21:59:02+00:00","order_id":584021,"products":[{"base_price":24.99,"discount_percentage":0,"quantity":1,"manufacturer":"Champion Arts","tax_amount":0,"product_id":11238,"category":"Women's Clothing","sku":"ZO0489604896","taxless_price":24.99,"unit_discount_amount":0,"min_price":11.75,"_id":"sold_product_584021_11238","discount_amount":0,"created_on":"2016-12-25T21:59:02+00:00","product_name":"Denim dress - black denim","price":24.99,"taxful_price":24.99,"base_unit_price":24.99},{"base_price":28.99,"discount_percentage":0,"quantity":1,"manufacturer":"Pyramidustries","tax_amount":0,"product_id":20149,"category":"Women's Clothing","sku":"ZO0185501855","taxless_price":28.99,"unit_discount_amount":0,"min_price":15.65,"_id":"sold_product_584021_20149","discount_amount":0,"created_on":"2016-12-25T21:59:02+00:00","product_name":"Shorts - black","price":28.99,"taxful_price":28.99,"base_unit_price":28.99}],"sku":["ZO0489604896","ZO0185501855"],"taxful_total_price":53.98,"taxless_total_price":53.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"mary","geoip":{"country_iso_code":"AE","location":{"lon":55.3,"lat":25.3},"region_name":"Dubai","continent_name":"Asia","city_name":"Dubai"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"U3YbP24B9uEN4vPiBjWP","_score":1.0,"_source":{"category":["Women's Shoes","Women's Clothing"],"currency":"EUR","customer_first_name":"Gwen","customer_full_name":"Gwen Butler","customer_gender":"FEMALE","customer_id":26,"customer_last_name":"Butler","customer_phone":"","day_of_week":"Sunday","day_of_week_i":6,"email":"gwen@butler-family.zzz","manufacturer":["Low Tide Media","Oceanavigations"],"order_date":"2019-11-24T22:32:10+00:00","order_id":584058,"products":[{"base_price":99.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":22794,"category":"Women's Shoes","sku":"ZO0374603746","taxless_price":99.99,"unit_discount_amount":0,"min_price":46,"_id":"sold_product_584058_22794","discount_amount":0,"created_on":"2016-12-25T22:32:10+00:00","product_name":"Boots - Midnight Blue","price":99.99,"taxful_price":99.99,"base_unit_price":99.99},{"base_price":99.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":23386,"category":"Women's Clothing","sku":"ZO0272202722","taxless_price":99.99,"unit_discount_amount":0,"min_price":53.99,"_id":"sold_product_584058_23386","discount_amount":0,"created_on":"2016-12-25T22:32:10+00:00","product_name":"Short coat - white/black","price":99.99,"taxful_price":99.99,"base_unit_price":99.99}],"sku":["ZO0374603746","ZO0272202722"],"taxful_total_price":199.98,"taxless_total_price":199.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"gwen","geoip":{"country_iso_code":"US","location":{"lon":-118.2,"lat":34.1},"region_name":"California","continent_name":"North America","city_name":"Los Angeles"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"VHYbP24B9uEN4vPiBjWP","_score":1.0,"_source":{"category":["Women's Shoes","Women's Clothing"],"currency":"EUR","customer_first_name":"Diane","customer_full_name":"Diane Chandler","customer_gender":"FEMALE","customer_id":22,"customer_last_name":"Chandler","customer_phone":"","day_of_week":"Sunday","day_of_week_i":6,"email":"diane@chandler-family.zzz","manufacturer":["Primemaster","Oceanavigations"],"order_date":"2019-11-24T22:58:05+00:00","order_id":584093,"products":[{"base_price":74.99,"discount_percentage":0,"quantity":1,"manufacturer":"Primemaster","tax_amount":0,"product_id":12304,"category":"Women's Shoes","sku":"ZO0360303603","taxless_price":74.99,"unit_discount_amount":0,"min_price":34.5,"_id":"sold_product_584093_12304","discount_amount":0,"created_on":"2016-12-25T22:58:05+00:00","product_name":"High heeled sandals - argento","price":74.99,"taxful_price":74.99,"base_unit_price":74.99},{"base_price":99.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":19587,"category":"Women's Clothing","sku":"ZO0272002720","taxless_price":99.99,"unit_discount_amount":0,"min_price":47,"_id":"sold_product_584093_19587","discount_amount":0,"created_on":"2016-12-25T22:58:05+00:00","product_name":"Classic coat - black","price":99.99,"taxful_price":99.99,"base_unit_price":99.99}],"sku":["ZO0360303603","ZO0272002720"],"taxful_total_price":174.98,"taxless_total_price":174.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"diane","geoip":{"country_iso_code":"GB","location":{"lon":-0.1,"lat":51.5},"continent_name":"Europe"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"VXYbP24B9uEN4vPiBjWP","_score":1.0,"_source":{"category":["Men's Clothing","Men's Accessories"],"currency":"EUR","customer_first_name":"Eddie","customer_full_name":"Eddie Weber","customer_gender":"MALE","customer_id":38,"customer_last_name":"Weber","customer_phone":"","day_of_week":"Monday","day_of_week_i":0,"email":"eddie@weber-family.zzz","manufacturer":["Elitelligence"],"order_date":"2019-11-18T03:48:58+00:00","order_id":574916,"products":[{"base_price":59.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":11262,"category":"Men's Clothing","sku":"ZO0542505425","taxless_price":59.99,"unit_discount_amount":0,"min_price":28.2,"_id":"sold_product_574916_11262","discount_amount":0,"created_on":"2016-12-19T03:48:58+00:00","product_name":"Winter jacket - black","price":59.99,"taxful_price":59.99,"base_unit_price":59.99},{"base_price":20.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":15713,"category":"Men's Accessories","sku":"ZO0601306013","taxless_price":20.99,"unit_discount_amount":0,"min_price":10.7,"_id":"sold_product_574916_15713","discount_amount":0,"created_on":"2016-12-19T03:48:58+00:00","product_name":"Watch - green","price":20.99,"taxful_price":20.99,"base_unit_price":20.99}],"sku":["ZO0542505425","ZO0601306013"],"taxful_total_price":80.98,"taxless_total_price":80.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"eddie","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"VnYbP24B9uEN4vPiBjWP","_score":1.0,"_source":{"category":["Women's Shoes","Women's Clothing"],"currency":"EUR","customer_first_name":"Diane","customer_full_name":"Diane Goodwin","customer_gender":"FEMALE","customer_id":22,"customer_last_name":"Goodwin","customer_phone":"","day_of_week":"Sunday","day_of_week_i":6,"email":"diane@goodwin-family.zzz","manufacturer":["Low Tide Media","Pyramidustries"],"order_date":"2019-11-17T21:44:38+00:00","order_id":574586,"products":[{"base_price":59.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":5419,"category":"Women's Shoes","sku":"ZO0376303763","taxless_price":59.99,"unit_discount_amount":0,"min_price":31.79,"_id":"sold_product_574586_5419","discount_amount":0,"created_on":"2016-12-18T21:44:38+00:00","product_name":"Winter boots - brown","price":59.99,"taxful_price":59.99,"base_unit_price":59.99},{"base_price":11.99,"discount_percentage":0,"quantity":1,"manufacturer":"Pyramidustries","tax_amount":0,"product_id":19325,"category":"Women's Clothing","sku":"ZO0212402124","taxless_price":11.99,"unit_discount_amount":0,"min_price":6.47,"_id":"sold_product_574586_19325","discount_amount":0,"created_on":"2016-12-18T21:44:38+00:00","product_name":"Shorts - dark blue/pink/dark green","price":11.99,"taxful_price":11.99,"base_unit_price":11.99}],"sku":["ZO0376303763","ZO0212402124"],"taxful_total_price":71.98,"taxless_total_price":71.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"diane","geoip":{"country_iso_code":"GB","location":{"lon":-0.1,"lat":51.5},"continent_name":"Europe"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"V3YbP24B9uEN4vPiBjWP","_score":1.0,"_source":{"category":["Men's Clothing"],"currency":"EUR","customer_first_name":"Oliver","customer_full_name":"Oliver Rios","customer_gender":"MALE","customer_id":7,"customer_last_name":"Rios","customer_phone":"","day_of_week":"Monday","day_of_week_i":0,"email":"oliver@rios-family.zzz","manufacturer":["Low Tide Media","Elitelligence"],"order_date":"2019-11-11T09:27:22+00:00","order_id":565855,"products":[{"base_price":20.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":19919,"category":"Men's Clothing","sku":"ZO0417504175","taxless_price":20.99,"unit_discount_amount":0,"min_price":9.87,"_id":"sold_product_565855_19919","discount_amount":0,"created_on":"2016-12-12T09:27:22+00:00","product_name":"Shirt - dark blue white","price":20.99,"taxful_price":20.99,"base_unit_price":20.99},{"base_price":24.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":24502,"category":"Men's Clothing","sku":"ZO0535205352","taxless_price":24.99,"unit_discount_amount":0,"min_price":12.49,"_id":"sold_product_565855_24502","discount_amount":0,"created_on":"2016-12-12T09:27:22+00:00","product_name":"Slim fit jeans - raw blue","price":24.99,"taxful_price":24.99,"base_unit_price":24.99}],"sku":["ZO0417504175","ZO0535205352"],"taxful_total_price":45.98,"taxless_total_price":45.98,"total_quantity":2,"total_unique_products":2,"type":"order","user":"oliver","geoip":{"country_iso_code":"GB","location":{"lon":-0.1,"lat":51.5},"continent_name":"Europe"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"WHYbP24B9uEN4vPiBjWQ","_score":1.0,"_source":{"category":["Men's Clothing","Men's Accessories","Men's Shoes"],"currency":"EUR","customer_first_name":"Abd","customer_full_name":"Abd Sutton","customer_gender":"MALE","customer_id":52,"customer_last_name":"Sutton","customer_phone":"","day_of_week":"Monday","day_of_week_i":0,"email":"abd@sutton-family.zzz","manufacturer":["Low Tide Media","Oceanavigations","Elitelligence"],"order_date":"2019-11-25T02:19:41+00:00","order_id":723055,"products":[{"base_price":28.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":11751,"category":"Men's Clothing","sku":"ZO0423104231","taxless_price":28.99,"unit_discount_amount":0,"min_price":14.78,"_id":"sold_product_723055_11751","discount_amount":0,"created_on":"2016-12-26T02:19:41+00:00","product_name":"Shorts - beige","price":28.99,"taxful_price":28.99,"base_unit_price":28.99},{"base_price":41.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":13452,"category":"Men's Accessories","sku":"ZO0314203142","taxless_price":41.99,"unit_discount_amount":0,"min_price":20.58,"_id":"sold_product_723055_13452","discount_amount":0,"created_on":"2016-12-26T02:19:41+00:00","product_name":"Weekend bag - black","price":41.99,"taxful_price":41.99,"base_unit_price":41.99},{"base_price":59.99,"discount_percentage":0,"quantity":1,"manufacturer":"Low Tide Media","tax_amount":0,"product_id":22434,"category":"Men's Shoes","sku":"ZO0394403944","taxless_price":59.99,"unit_discount_amount":0,"min_price":30,"_id":"sold_product_723055_22434","discount_amount":0,"created_on":"2016-12-26T02:19:41+00:00","product_name":"Casual lace-ups - cognac","price":59.99,"taxful_price":59.99,"base_unit_price":59.99},{"base_price":7.99,"discount_percentage":0,"quantity":1,"manufacturer":"Elitelligence","tax_amount":0,"product_id":7059,"category":"Men's Clothing","sku":"ZO0561805618","taxless_price":7.99,"unit_discount_amount":0,"min_price":3.76,"_id":"sold_product_723055_7059","discount_amount":0,"created_on":"2016-12-26T02:19:41+00:00","product_name":"Print T-shirt - off white/green","price":7.99,"taxful_price":7.99,"base_unit_price":7.99}],"sku":["ZO0423104231","ZO0314203142","ZO0394403944","ZO0561805618"],"taxful_total_price":138.96,"taxless_total_price":138.96,"total_quantity":4,"total_unique_products":4,"type":"order","user":"abd","geoip":{"country_iso_code":"EG","location":{"lon":31.3,"lat":30.1},"region_name":"Cairo Governorate","continent_name":"Africa","city_name":"Cairo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"WXYbP24B9uEN4vPiBjWQ","_score":1.0,"_source":{"category":["Women's Accessories","Women's Clothing"],"currency":"EUR","customer_first_name":"Wilhemina St.","customer_full_name":"Wilhemina St. Tran","customer_gender":"FEMALE","customer_id":17,"customer_last_name":"Tran","customer_phone":"","day_of_week":"Sunday","day_of_week_i":6,"email":"wilhemina st.@tran-family.zzz","manufacturer":["Pyramidustries","Tigress Enterprises","Pyramidustries active","Oceanavigations"],"order_date":"2019-11-17T00:59:02+00:00","order_id":727462,"products":[{"base_price":8.99,"discount_percentage":0,"quantity":1,"manufacturer":"Pyramidustries","tax_amount":0,"product_id":12012,"category":"Women's Accessories","sku":"ZO0186801868","taxless_price":8.99,"unit_discount_amount":0,"min_price":4.14,"_id":"sold_product_727462_12012","discount_amount":0,"created_on":"2016-12-18T00:59:02+00:00","product_name":"Mittens - grey","price":8.99,"taxful_price":8.99,"base_unit_price":8.99},{"base_price":20.99,"discount_percentage":0,"quantity":1,"manufacturer":"Tigress Enterprises","tax_amount":0,"product_id":16471,"category":"Women's Clothing","sku":"ZO0074100741","taxless_price":20.99,"unit_discount_amount":0,"min_price":9.66,"_id":"sold_product_727462_16471","discount_amount":0,"created_on":"2016-12-18T00:59:02+00:00","product_name":"Vest - black/Chocolate","price":20.99,"taxful_price":20.99,"base_unit_price":20.99},{"base_price":16.99,"discount_percentage":0,"quantity":1,"manufacturer":"Pyramidustries active","tax_amount":0,"product_id":10554,"category":"Women's Clothing","sku":"ZO0223202232","taxless_price":16.99,"unit_discount_amount":0,"min_price":7.82,"_id":"sold_product_727462_10554","discount_amount":0,"created_on":"2016-12-18T00:59:02+00:00","product_name":"Tracksuit bottoms - Pale Violet Red","price":16.99,"taxful_price":16.99,"base_unit_price":16.99},{"base_price":41.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":22882,"category":"Women's Clothing","sku":"ZO0267602676","taxless_price":41.99,"unit_discount_amount":0,"min_price":23.09,"_id":"sold_product_727462_22882","discount_amount":0,"created_on":"2016-12-18T00:59:02+00:00","product_name":"Cardigan - black","price":41.99,"taxful_price":41.99,"base_unit_price":41.99}],"sku":["ZO0186801868","ZO0074100741","ZO0223202232","ZO0267602676"],"taxful_total_price":88.96,"taxless_total_price":88.96,"total_quantity":4,"total_unique_products":4,"type":"order","user":"wilhemina","geoip":{"country_iso_code":"MC","location":{"lon":7.4,"lat":43.7},"continent_name":"Europe","city_name":"Monte Carlo"}}},{"_index":"kibana_sample_data_ecommerce","_type":"_doc","_id":"WnYbP24B9uEN4vPiBjWQ","_score":1.0,"_source":{"category":["Women's Shoes","Women's Clothing"],"currency":"EUR","customer_first_name":"Rabbia Al","customer_full_name":"Rabbia Al Baker","customer_gender":"FEMALE","customer_id":5,"customer_last_name":"Baker","customer_phone":"","day_of_week":"Monday","day_of_week_i":0,"email":"rabbia al@baker-family.zzz","manufacturer":["Oceanavigations","Tigress Enterprises","Champion Arts","Pyramidustries"],"order_date":"2019-11-25T03:41:46+00:00","order_id":727269,"products":[{"base_price":74.99,"discount_percentage":0,"quantity":1,"manufacturer":"Oceanavigations","tax_amount":0,"product_id":22880,"category":"Women's Shoes","sku":"ZO0249902499","taxless_price":74.99,"unit_discount_amount":0,"min_price":35.25,"_id":"sold_product_727269_22880","discount_amount":0,"created_on":"2016-12-26T03:41:46+00:00","product_name":"Boots - black","price":74.99,"taxful_price":74.99,"base_unit_price":74.99},{"base_price":32.99,"discount_percentage":0,"quantity":1,"manufacturer":"Tigress Enterprises","tax_amount":0,"product_id":12484,"category":"Women's Clothing","sku":"ZO0068400684","taxless_price":32.99,"unit_discount_amount":0,"min_price":17.48,"_id":"sold_product_727269_12484","discount_amount":0,"created_on":"2016-12-26T03:41:46+00:00","product_name":"Cardigan - black/white","price":32.99,"taxful_price":32.99,"base_unit_price":32.99},{"base_price":13.99,"discount_percentage":0,"quantity":1,"manufacturer":"Champion Arts","tax_amount":0,"product_id":21362,"category":"Women's Clothing","sku":"ZO0494704947","taxless_price":13.99,"unit_discount_amount":0,"min_price":6.58,"_id":"sold_product_727269_21362","discount_amount":0,"created_on":"2016-12-26T03:41:46+00:00","product_name":"Long sleeved top - blue","price":13.99,"taxful_price":13.99,"base_unit_price":13.99},{"base_price":49.99,"discount_percentage":0,"quantity":1,"manufacturer":"Pyramidustries","tax_amount":0,"product_id":13854,"category":"Women's Shoes","sku":"ZO0143401434","taxless_price":49.99,"unit_discount_amount":0,"min_price":25.49,"_id":"sold_product_727269_13854","discount_amount":0,"created_on":"2016-12-26T03:41:46+00:00","product_name":"Lace-up boots - black","price":49.99,"taxful_price":49.99,"base_unit_price":49.99}],"sku":["ZO0249902499","ZO0068400684","ZO0494704947","ZO0143401434"],"taxful_total_price":171.96,"taxless_total_price":171.96,"total_quantity":4,"total_unique_products":4,"type":"order","user":"rabbia","geoip":{"country_iso_code":"AE","location":{"lon":55.3,"lat":25.3},"region_name":"Dubai","continent_name":"Asia","city_name":"Dubai"}}}]}}

  kibana 上查询

  1. POST kibana_sample_data_ecommerce/_search
  2. {
  3. "query":{
  4. "match_all":{}
  5. }
  6. }
  7.  
  8. {
  9. "took" : 2, 花费的时间
  10. "timed_out" : false,
  11. "_shards" : {
  12. "total" : 1,
  13. "successful" : 1,
  14. "skipped" : 0,
  15. "failed" : 0
  16. },
  17. "hits" : {
  18. "total" : {
  19. "value" : 4675, 符合条件的总文档数
  20. "relation" : "eq"
  21. },
  22. "max_score" : 1.0,
  23. "hits" : [ 结果集,默认前10
  24. {
  25. "_index" : "kibana_sample_data_ecommerce", 索引名
  26. "_type" : "_doc",
  27. "_id" : "UXYbP24B9uEN4vPiBjWP", ID
  28. "_score" : 1.0, 相关度评分
  29. "_source" : { 文档原始数据
  30. "category" : [
  31. "Men's Clothing"
  32. ],
  33. "currency" : "EUR",
  34. "customer_first_name" : "Eddie",
  35. "customer_full_name" : "Eddie Underwood",
  36. "customer_gender" : "MALE",
  37. "customer_id" : 38,
  38. "customer_last_name" : "Underwood",
  39. "customer_phone" : "",
  40. "day_of_week" : "Monday",
  41. "day_of_week_i" : 0,
  42. "email" : "eddie@underwood-family.zzz",
  43. "manufacturer" : [
  44. "Elitelligence",
  45. "Oceanavigations"
  46. ],
  47. "order_date" : "2019-11-25T09:28:48+00:00",
  48. "order_id" : 584677,
  49. "products" : [
  50. {
  51. "base_price" : 11.99,
  52. "discount_percentage" : 0,
  53. "quantity" : 1,
  54. "manufacturer" : "Elitelligence",
  55. "tax_amount" : 0,
  56. "product_id" : 6283,
  57. "category" : "Men's Clothing",
  58. "sku" : "ZO0549605496",
  59. "taxless_price" : 11.99,
  60. "unit_discount_amount" : 0,
  61. "min_price" : 6.35,
  62. "_id" : "sold_product_584677_6283",
  63. "discount_amount" : 0,
  64. "created_on" : "2016-12-26T09:28:48+00:00",
  65. "product_name" : "Basic T-shirt - dark blue/white",
  66. "price" : 11.99,
  67. "taxful_price" : 11.99,
  68. "base_unit_price" : 11.99
  69. },
  70. {
  71. "base_price" : 24.99,
  72. "discount_percentage" : 0,
  73. "quantity" : 1,
  74. "manufacturer" : "Oceanavigations",
  75. "tax_amount" : 0,
  76. "product_id" : 19400,
  77. "category" : "Men's Clothing",
  78. "sku" : "ZO0299602996",
  79. "taxless_price" : 24.99,
  80. "unit_discount_amount" : 0,
  81. "min_price" : 11.75,
  82. "_id" : "sold_product_584677_19400",
  83. "discount_amount" : 0,
  84. "created_on" : "2016-12-26T09:28:48+00:00",
  85. "product_name" : "Sweatshirt - grey multicolor",
  86. "price" : 24.99,
  87. "taxful_price" : 24.99,
  88. "base_unit_price" : 24.99
  89. }
  90. ],
  91. "sku" : [
  92. "ZO0549605496",
  93. "ZO0299602996"
  94. ],
  95. "taxful_total_price" : 36.98,
  96. "taxless_total_price" : 36.98,
  97. "total_quantity" : 2,
  98. "total_unique_products" : 2,
  99. "type" : "order",
  100. "user" : "eddie",
  101. "geoip" : {
  102. "country_iso_code" : "EG",
  103. "location" : {
  104. "lon" : 31.3,
  105. "lat" : 30.1
  106. },
  107. "region_name" : "Cairo Governorate",
  108. "continent_name" : "Africa",
  109. "city_name" : "Cairo"
  110. }
  111. }
  112. },
  113. {
  114. "_index" : "kibana_sample_data_ecommerce",
  115. "_type" : "_doc",
  116. "_id" : "UnYbP24B9uEN4vPiBjWP",
  117. "_score" : 1.0,
  118. "_source" : {
  119. "category" : [
  120. "Women's Clothing"
  121. ],
  122. "currency" : "EUR",
  123. "customer_first_name" : "Mary",
  124. "customer_full_name" : "Mary Bailey",
  125. "customer_gender" : "FEMALE",
  126. "customer_id" : 20,
  127. "customer_last_name" : "Bailey",
  128. "customer_phone" : "",
  129. "day_of_week" : "Sunday",
  130. "day_of_week_i" : 6,
  131. "email" : "mary@bailey-family.zzz",
  132. "manufacturer" : [
  133. "Champion Arts",
  134. "Pyramidustries"
  135. ],
  136. "order_date" : "2019-11-24T21:59:02+00:00",
  137. "order_id" : 584021,
  138. "products" : [
  139. {
  140. "base_price" : 24.99,
  141. "discount_percentage" : 0,
  142. "quantity" : 1,
  143. "manufacturer" : "Champion Arts",
  144. "tax_amount" : 0,
  145. "product_id" : 11238,
  146. "category" : "Women's Clothing",
  147. "sku" : "ZO0489604896",
  148. "taxless_price" : 24.99,
  149. "unit_discount_amount" : 0,
  150. "min_price" : 11.75,
  151. "_id" : "sold_product_584021_11238",
  152. "discount_amount" : 0,
  153. "created_on" : "2016-12-25T21:59:02+00:00",
  154. "product_name" : "Denim dress - black denim",
  155. "price" : 24.99,
  156. "taxful_price" : 24.99,
  157. "base_unit_price" : 24.99
  158. },
  159. {
  160. "base_price" : 28.99,
  161. "discount_percentage" : 0,
  162. "quantity" : 1,
  163. "manufacturer" : "Pyramidustries",
  164. "tax_amount" : 0,
  165. "product_id" : 20149,
  166. "category" : "Women's Clothing",
  167. "sku" : "ZO0185501855",
  168. "taxless_price" : 28.99,
  169. "unit_discount_amount" : 0,
  170. "min_price" : 15.65,
  171. "_id" : "sold_product_584021_20149",
  172. "discount_amount" : 0,
  173. "created_on" : "2016-12-25T21:59:02+00:00",
  174. "product_name" : "Shorts - black",
  175. "price" : 28.99,
  176. "taxful_price" : 28.99,
  177. "base_unit_price" : 28.99
  178. }
  179. ],
  180. "sku" : [
  181. "ZO0489604896",
  182. "ZO0185501855"
  183. ],
  184. "taxful_total_price" : 53.98,
  185. "taxless_total_price" : 53.98,
  186. "total_quantity" : 2,
  187. "total_unique_products" : 2,
  188. "type" : "order",
  189. "user" : "mary",
  190. "geoip" : {
  191. "country_iso_code" : "AE",
  192. "location" : {
  193. "lon" : 55.3,
  194. "lat" : 25.3
  195. },
  196. "region_name" : "Dubai",
  197. "continent_name" : "Asia",
  198. "city_name" : "Dubai"
  199. }
  200. }
  201. },
  202. {
  203. "_index" : "kibana_sample_data_ecommerce",
  204. "_type" : "_doc",
  205. "_id" : "U3YbP24B9uEN4vPiBjWP",
  206. "_score" : 1.0,
  207. "_source" : {
  208. "category" : [
  209. "Women's Shoes",
  210. "Women's Clothing"
  211. ],
  212. "currency" : "EUR",
  213. "customer_first_name" : "Gwen",
  214. "customer_full_name" : "Gwen Butler",
  215. "customer_gender" : "FEMALE",
  216. "customer_id" : 26,
  217. "customer_last_name" : "Butler",
  218. "customer_phone" : "",
  219. "day_of_week" : "Sunday",
  220. "day_of_week_i" : 6,
  221. "email" : "gwen@butler-family.zzz",
  222. "manufacturer" : [
  223. "Low Tide Media",
  224. "Oceanavigations"
  225. ],
  226. "order_date" : "2019-11-24T22:32:10+00:00",
  227. "order_id" : 584058,
  228. "products" : [
  229. {
  230. "base_price" : 99.99,
  231. "discount_percentage" : 0,
  232. "quantity" : 1,
  233. "manufacturer" : "Low Tide Media",
  234. "tax_amount" : 0,
  235. "product_id" : 22794,
  236. "category" : "Women's Shoes",
  237. "sku" : "ZO0374603746",
  238. "taxless_price" : 99.99,
  239. "unit_discount_amount" : 0,
  240. "min_price" : 46,
  241. "_id" : "sold_product_584058_22794",
  242. "discount_amount" : 0,
  243. "created_on" : "2016-12-25T22:32:10+00:00",
  244. "product_name" : "Boots - Midnight Blue",
  245. "price" : 99.99,
  246. "taxful_price" : 99.99,
  247. "base_unit_price" : 99.99
  248. },
  249. {
  250. "base_price" : 99.99,
  251. "discount_percentage" : 0,
  252. "quantity" : 1,
  253. "manufacturer" : "Oceanavigations",
  254. "tax_amount" : 0,
  255. "product_id" : 23386,
  256. "category" : "Women's Clothing",
  257. "sku" : "ZO0272202722",
  258. "taxless_price" : 99.99,
  259. "unit_discount_amount" : 0,
  260. "min_price" : 53.99,
  261. "_id" : "sold_product_584058_23386",
  262. "discount_amount" : 0,
  263. "created_on" : "2016-12-25T22:32:10+00:00",
  264. "product_name" : "Short coat - white/black",
  265. "price" : 99.99,
  266. "taxful_price" : 99.99,
  267. "base_unit_price" : 99.99
  268. }
  269. ],
  270. "sku" : [
  271. "ZO0374603746",
  272. "ZO0272202722"
  273. ],
  274. "taxful_total_price" : 199.98,
  275. "taxless_total_price" : 199.98,
  276. "total_quantity" : 2,
  277. "total_unique_products" : 2,
  278. "type" : "order",
  279. "user" : "gwen",
  280. "geoip" : {
  281. "country_iso_code" : "US",
  282. "location" : {
  283. "lon" : -118.2,
  284. "lat" : 34.1
  285. },
  286. "region_name" : "California",
  287. "continent_name" : "North America",
  288. "city_name" : "Los Angeles"
  289. }
  290. }
  291. },
  292. {
  293. "_index" : "kibana_sample_data_ecommerce",
  294. "_type" : "_doc",
  295. "_id" : "VHYbP24B9uEN4vPiBjWP",
  296. "_score" : 1.0,
  297. "_source" : {
  298. "category" : [
  299. "Women's Shoes",
  300. "Women's Clothing"
  301. ],
  302. "currency" : "EUR",
  303. "customer_first_name" : "Diane",
  304. "customer_full_name" : "Diane Chandler",
  305. "customer_gender" : "FEMALE",
  306. "customer_id" : 22,
  307. "customer_last_name" : "Chandler",
  308. "customer_phone" : "",
  309. "day_of_week" : "Sunday",
  310. "day_of_week_i" : 6,
  311. "email" : "diane@chandler-family.zzz",
  312. "manufacturer" : [
  313. "Primemaster",
  314. "Oceanavigations"
  315. ],
  316. "order_date" : "2019-11-24T22:58:05+00:00",
  317. "order_id" : 584093,
  318. "products" : [
  319. {
  320. "base_price" : 74.99,
  321. "discount_percentage" : 0,
  322. "quantity" : 1,
  323. "manufacturer" : "Primemaster",
  324. "tax_amount" : 0,
  325. "product_id" : 12304,
  326. "category" : "Women's Shoes",
  327. "sku" : "ZO0360303603",
  328. "taxless_price" : 74.99,
  329. "unit_discount_amount" : 0,
  330. "min_price" : 34.5,
  331. "_id" : "sold_product_584093_12304",
  332. "discount_amount" : 0,
  333. "created_on" : "2016-12-25T22:58:05+00:00",
  334. "product_name" : "High heeled sandals - argento",
  335. "price" : 74.99,
  336. "taxful_price" : 74.99,
  337. "base_unit_price" : 74.99
  338. },
  339. {
  340. "base_price" : 99.99,
  341. "discount_percentage" : 0,
  342. "quantity" : 1,
  343. "manufacturer" : "Oceanavigations",
  344. "tax_amount" : 0,
  345. "product_id" : 19587,
  346. "category" : "Women's Clothing",
  347. "sku" : "ZO0272002720",
  348. "taxless_price" : 99.99,
  349. "unit_discount_amount" : 0,
  350. "min_price" : 47,
  351. "_id" : "sold_product_584093_19587",
  352. "discount_amount" : 0,
  353. "created_on" : "2016-12-25T22:58:05+00:00",
  354. "product_name" : "Classic coat - black",
  355. "price" : 99.99,
  356. "taxful_price" : 99.99,
  357. "base_unit_price" : 99.99
  358. }
  359. ],
  360. "sku" : [
  361. "ZO0360303603",
  362. "ZO0272002720"
  363. ],
  364. "taxful_total_price" : 174.98,
  365. "taxless_total_price" : 174.98,
  366. "total_quantity" : 2,
  367. "total_unique_products" : 2,
  368. "type" : "order",
  369. "user" : "diane",
  370. "geoip" : {
  371. "country_iso_code" : "GB",
  372. "location" : {
  373. "lon" : -0.1,
  374. "lat" : 51.5
  375. },
  376. "continent_name" : "Europe"
  377. }
  378. }
  379. },
  380. {
  381. "_index" : "kibana_sample_data_ecommerce",
  382. "_type" : "_doc",
  383. "_id" : "VXYbP24B9uEN4vPiBjWP",
  384. "_score" : 1.0,
  385. "_source" : {
  386. "category" : [
  387. "Men's Clothing",
  388. "Men's Accessories"
  389. ],
  390. "currency" : "EUR",
  391. "customer_first_name" : "Eddie",
  392. "customer_full_name" : "Eddie Weber",
  393. "customer_gender" : "MALE",
  394. "customer_id" : 38,
  395. "customer_last_name" : "Weber",
  396. "customer_phone" : "",
  397. "day_of_week" : "Monday",
  398. "day_of_week_i" : 0,
  399. "email" : "eddie@weber-family.zzz",
  400. "manufacturer" : [
  401. "Elitelligence"
  402. ],
  403. "order_date" : "2019-11-18T03:48:58+00:00",
  404. "order_id" : 574916,
  405. "products" : [
  406. {
  407. "base_price" : 59.99,
  408. "discount_percentage" : 0,
  409. "quantity" : 1,
  410. "manufacturer" : "Elitelligence",
  411. "tax_amount" : 0,
  412. "product_id" : 11262,
  413. "category" : "Men's Clothing",
  414. "sku" : "ZO0542505425",
  415. "taxless_price" : 59.99,
  416. "unit_discount_amount" : 0,
  417. "min_price" : 28.2,
  418. "_id" : "sold_product_574916_11262",
  419. "discount_amount" : 0,
  420. "created_on" : "2016-12-19T03:48:58+00:00",
  421. "product_name" : "Winter jacket - black",
  422. "price" : 59.99,
  423. "taxful_price" : 59.99,
  424. "base_unit_price" : 59.99
  425. },
  426. {
  427. "base_price" : 20.99,
  428. "discount_percentage" : 0,
  429. "quantity" : 1,
  430. "manufacturer" : "Elitelligence",
  431. "tax_amount" : 0,
  432. "product_id" : 15713,
  433. "category" : "Men's Accessories",
  434. "sku" : "ZO0601306013",
  435. "taxless_price" : 20.99,
  436. "unit_discount_amount" : 0,
  437. "min_price" : 10.7,
  438. "_id" : "sold_product_574916_15713",
  439. "discount_amount" : 0,
  440. "created_on" : "2016-12-19T03:48:58+00:00",
  441. "product_name" : "Watch - green",
  442. "price" : 20.99,
  443. "taxful_price" : 20.99,
  444. "base_unit_price" : 20.99
  445. }
  446. ],
  447. "sku" : [
  448. "ZO0542505425",
  449. "ZO0601306013"
  450. ],
  451. "taxful_total_price" : 80.98,
  452. "taxless_total_price" : 80.98,
  453. "total_quantity" : 2,
  454. "total_unique_products" : 2,
  455. "type" : "order",
  456. "user" : "eddie",
  457. "geoip" : {
  458. "country_iso_code" : "EG",
  459. "location" : {
  460. "lon" : 31.3,
  461. "lat" : 30.1
  462. },
  463. "region_name" : "Cairo Governorate",
  464. "continent_name" : "Africa",
  465. "city_name" : "Cairo"
  466. }
  467. }
  468. },
  469. {
  470. "_index" : "kibana_sample_data_ecommerce",
  471. "_type" : "_doc",
  472. "_id" : "VnYbP24B9uEN4vPiBjWP",
  473. "_score" : 1.0,
  474. "_source" : {
  475. "category" : [
  476. "Women's Shoes",
  477. "Women's Clothing"
  478. ],
  479. "currency" : "EUR",
  480. "customer_first_name" : "Diane",
  481. "customer_full_name" : "Diane Goodwin",
  482. "customer_gender" : "FEMALE",
  483. "customer_id" : 22,
  484. "customer_last_name" : "Goodwin",
  485. "customer_phone" : "",
  486. "day_of_week" : "Sunday",
  487. "day_of_week_i" : 6,
  488. "email" : "diane@goodwin-family.zzz",
  489. "manufacturer" : [
  490. "Low Tide Media",
  491. "Pyramidustries"
  492. ],
  493. "order_date" : "2019-11-17T21:44:38+00:00",
  494. "order_id" : 574586,
  495. "products" : [
  496. {
  497. "base_price" : 59.99,
  498. "discount_percentage" : 0,
  499. "quantity" : 1,
  500. "manufacturer" : "Low Tide Media",
  501. "tax_amount" : 0,
  502. "product_id" : 5419,
  503. "category" : "Women's Shoes",
  504. "sku" : "ZO0376303763",
  505. "taxless_price" : 59.99,
  506. "unit_discount_amount" : 0,
  507. "min_price" : 31.79,
  508. "_id" : "sold_product_574586_5419",
  509. "discount_amount" : 0,
  510. "created_on" : "2016-12-18T21:44:38+00:00",
  511. "product_name" : "Winter boots - brown",
  512. "price" : 59.99,
  513. "taxful_price" : 59.99,
  514. "base_unit_price" : 59.99
  515. },
  516. {
  517. "base_price" : 11.99,
  518. "discount_percentage" : 0,
  519. "quantity" : 1,
  520. "manufacturer" : "Pyramidustries",
  521. "tax_amount" : 0,
  522. "product_id" : 19325,
  523. "category" : "Women's Clothing",
  524. "sku" : "ZO0212402124",
  525. "taxless_price" : 11.99,
  526. "unit_discount_amount" : 0,
  527. "min_price" : 6.47,
  528. "_id" : "sold_product_574586_19325",
  529. "discount_amount" : 0,
  530. "created_on" : "2016-12-18T21:44:38+00:00",
  531. "product_name" : "Shorts - dark blue/pink/dark green",
  532. "price" : 11.99,
  533. "taxful_price" : 11.99,
  534. "base_unit_price" : 11.99
  535. }
  536. ],
  537. "sku" : [
  538. "ZO0376303763",
  539. "ZO0212402124"
  540. ],
  541. "taxful_total_price" : 71.98,
  542. "taxless_total_price" : 71.98,
  543. "total_quantity" : 2,
  544. "total_unique_products" : 2,
  545. "type" : "order",
  546. "user" : "diane",
  547. "geoip" : {
  548. "country_iso_code" : "GB",
  549. "location" : {
  550. "lon" : -0.1,
  551. "lat" : 51.5
  552. },
  553. "continent_name" : "Europe"
  554. }
  555. }
  556. },
  557. {
  558. "_index" : "kibana_sample_data_ecommerce",
  559. "_type" : "_doc",
  560. "_id" : "V3YbP24B9uEN4vPiBjWP",
  561. "_score" : 1.0,
  562. "_source" : {
  563. "category" : [
  564. "Men's Clothing"
  565. ],
  566. "currency" : "EUR",
  567. "customer_first_name" : "Oliver",
  568. "customer_full_name" : "Oliver Rios",
  569. "customer_gender" : "MALE",
  570. "customer_id" : 7,
  571. "customer_last_name" : "Rios",
  572. "customer_phone" : "",
  573. "day_of_week" : "Monday",
  574. "day_of_week_i" : 0,
  575. "email" : "oliver@rios-family.zzz",
  576. "manufacturer" : [
  577. "Low Tide Media",
  578. "Elitelligence"
  579. ],
  580. "order_date" : "2019-11-11T09:27:22+00:00",
  581. "order_id" : 565855,
  582. "products" : [
  583. {
  584. "base_price" : 20.99,
  585. "discount_percentage" : 0,
  586. "quantity" : 1,
  587. "manufacturer" : "Low Tide Media",
  588. "tax_amount" : 0,
  589. "product_id" : 19919,
  590. "category" : "Men's Clothing",
  591. "sku" : "ZO0417504175",
  592. "taxless_price" : 20.99,
  593. "unit_discount_amount" : 0,
  594. "min_price" : 9.87,
  595. "_id" : "sold_product_565855_19919",
  596. "discount_amount" : 0,
  597. "created_on" : "2016-12-12T09:27:22+00:00",
  598. "product_name" : "Shirt - dark blue white",
  599. "price" : 20.99,
  600. "taxful_price" : 20.99,
  601. "base_unit_price" : 20.99
  602. },
  603. {
  604. "base_price" : 24.99,
  605. "discount_percentage" : 0,
  606. "quantity" : 1,
  607. "manufacturer" : "Elitelligence",
  608. "tax_amount" : 0,
  609. "product_id" : 24502,
  610. "category" : "Men's Clothing",
  611. "sku" : "ZO0535205352",
  612. "taxless_price" : 24.99,
  613. "unit_discount_amount" : 0,
  614. "min_price" : 12.49,
  615. "_id" : "sold_product_565855_24502",
  616. "discount_amount" : 0,
  617. "created_on" : "2016-12-12T09:27:22+00:00",
  618. "product_name" : "Slim fit jeans - raw blue",
  619. "price" : 24.99,
  620. "taxful_price" : 24.99,
  621. "base_unit_price" : 24.99
  622. }
  623. ],
  624. "sku" : [
  625. "ZO0417504175",
  626. "ZO0535205352"
  627. ],
  628. "taxful_total_price" : 45.98,
  629. "taxless_total_price" : 45.98,
  630. "total_quantity" : 2,
  631. "total_unique_products" : 2,
  632. "type" : "order",
  633. "user" : "oliver",
  634. "geoip" : {
  635. "country_iso_code" : "GB",
  636. "location" : {
  637. "lon" : -0.1,
  638. "lat" : 51.5
  639. },
  640. "continent_name" : "Europe"
  641. }
  642. }
  643. },
  644. {
  645. "_index" : "kibana_sample_data_ecommerce",
  646. "_type" : "_doc",
  647. "_id" : "WHYbP24B9uEN4vPiBjWQ",
  648. "_score" : 1.0,
  649. "_source" : {
  650. "category" : [
  651. "Men's Clothing",
  652. "Men's Accessories",
  653. "Men's Shoes"
  654. ],
  655. "currency" : "EUR",
  656. "customer_first_name" : "Abd",
  657. "customer_full_name" : "Abd Sutton",
  658. "customer_gender" : "MALE",
  659. "customer_id" : 52,
  660. "customer_last_name" : "Sutton",
  661. "customer_phone" : "",
  662. "day_of_week" : "Monday",
  663. "day_of_week_i" : 0,
  664. "email" : "abd@sutton-family.zzz",
  665. "manufacturer" : [
  666. "Low Tide Media",
  667. "Oceanavigations",
  668. "Elitelligence"
  669. ],
  670. "order_date" : "2019-11-25T02:19:41+00:00",
  671. "order_id" : 723055,
  672. "products" : [
  673. {
  674. "base_price" : 28.99,
  675. "discount_percentage" : 0,
  676. "quantity" : 1,
  677. "manufacturer" : "Low Tide Media",
  678. "tax_amount" : 0,
  679. "product_id" : 11751,
  680. "category" : "Men's Clothing",
  681. "sku" : "ZO0423104231",
  682. "taxless_price" : 28.99,
  683. "unit_discount_amount" : 0,
  684. "min_price" : 14.78,
  685. "_id" : "sold_product_723055_11751",
  686. "discount_amount" : 0,
  687. "created_on" : "2016-12-26T02:19:41+00:00",
  688. "product_name" : "Shorts - beige",
  689. "price" : 28.99,
  690. "taxful_price" : 28.99,
  691. "base_unit_price" : 28.99
  692. },
  693. {
  694. "base_price" : 41.99,
  695. "discount_percentage" : 0,
  696. "quantity" : 1,
  697. "manufacturer" : "Oceanavigations",
  698. "tax_amount" : 0,
  699. "product_id" : 13452,
  700. "category" : "Men's Accessories",
  701. "sku" : "ZO0314203142",
  702. "taxless_price" : 41.99,
  703. "unit_discount_amount" : 0,
  704. "min_price" : 20.58,
  705. "_id" : "sold_product_723055_13452",
  706. "discount_amount" : 0,
  707. "created_on" : "2016-12-26T02:19:41+00:00",
  708. "product_name" : "Weekend bag - black",
  709. "price" : 41.99,
  710. "taxful_price" : 41.99,
  711. "base_unit_price" : 41.99
  712. },
  713. {
  714. "base_price" : 59.99,
  715. "discount_percentage" : 0,
  716. "quantity" : 1,
  717. "manufacturer" : "Low Tide Media",
  718. "tax_amount" : 0,
  719. "product_id" : 22434,
  720. "category" : "Men's Shoes",
  721. "sku" : "ZO0394403944",
  722. "taxless_price" : 59.99,
  723. "unit_discount_amount" : 0,
  724. "min_price" : 30,
  725. "_id" : "sold_product_723055_22434",
  726. "discount_amount" : 0,
  727. "created_on" : "2016-12-26T02:19:41+00:00",
  728. "product_name" : "Casual lace-ups - cognac",
  729. "price" : 59.99,
  730. "taxful_price" : 59.99,
  731. "base_unit_price" : 59.99
  732. },
  733. {
  734. "base_price" : 7.99,
  735. "discount_percentage" : 0,
  736. "quantity" : 1,
  737. "manufacturer" : "Elitelligence",
  738. "tax_amount" : 0,
  739. "product_id" : 7059,
  740. "category" : "Men's Clothing",
  741. "sku" : "ZO0561805618",
  742. "taxless_price" : 7.99,
  743. "unit_discount_amount" : 0,
  744. "min_price" : 3.76,
  745. "_id" : "sold_product_723055_7059",
  746. "discount_amount" : 0,
  747. "created_on" : "2016-12-26T02:19:41+00:00",
  748. "product_name" : "Print T-shirt - off white/green",
  749. "price" : 7.99,
  750. "taxful_price" : 7.99,
  751. "base_unit_price" : 7.99
  752. }
  753. ],
  754. "sku" : [
  755. "ZO0423104231",
  756. "ZO0314203142",
  757. "ZO0394403944",
  758. "ZO0561805618"
  759. ],
  760. "taxful_total_price" : 138.96,
  761. "taxless_total_price" : 138.96,
  762. "total_quantity" : 4,
  763. "total_unique_products" : 4,
  764. "type" : "order",
  765. "user" : "abd",
  766. "geoip" : {
  767. "country_iso_code" : "EG",
  768. "location" : {
  769. "lon" : 31.3,
  770. "lat" : 30.1
  771. },
  772. "region_name" : "Cairo Governorate",
  773. "continent_name" : "Africa",
  774. "city_name" : "Cairo"
  775. }
  776. }
  777. },
  778. {
  779. "_index" : "kibana_sample_data_ecommerce",
  780. "_type" : "_doc",
  781. "_id" : "WXYbP24B9uEN4vPiBjWQ",
  782. "_score" : 1.0,
  783. "_source" : {
  784. "category" : [
  785. "Women's Accessories",
  786. "Women's Clothing"
  787. ],
  788. "currency" : "EUR",
  789. "customer_first_name" : "Wilhemina St.",
  790. "customer_full_name" : "Wilhemina St. Tran",
  791. "customer_gender" : "FEMALE",
  792. "customer_id" : 17,
  793. "customer_last_name" : "Tran",
  794. "customer_phone" : "",
  795. "day_of_week" : "Sunday",
  796. "day_of_week_i" : 6,
  797. "email" : "wilhemina st.@tran-family.zzz",
  798. "manufacturer" : [
  799. "Pyramidustries",
  800. "Tigress Enterprises",
  801. "Pyramidustries active",
  802. "Oceanavigations"
  803. ],
  804. "order_date" : "2019-11-17T00:59:02+00:00",
  805. "order_id" : 727462,
  806. "products" : [
  807. {
  808. "base_price" : 8.99,
  809. "discount_percentage" : 0,
  810. "quantity" : 1,
  811. "manufacturer" : "Pyramidustries",
  812. "tax_amount" : 0,
  813. "product_id" : 12012,
  814. "category" : "Women's Accessories",
  815. "sku" : "ZO0186801868",
  816. "taxless_price" : 8.99,
  817. "unit_discount_amount" : 0,
  818. "min_price" : 4.14,
  819. "_id" : "sold_product_727462_12012",
  820. "discount_amount" : 0,
  821. "created_on" : "2016-12-18T00:59:02+00:00",
  822. "product_name" : "Mittens - grey",
  823. "price" : 8.99,
  824. "taxful_price" : 8.99,
  825. "base_unit_price" : 8.99
  826. },
  827. {
  828. "base_price" : 20.99,
  829. "discount_percentage" : 0,
  830. "quantity" : 1,
  831. "manufacturer" : "Tigress Enterprises",
  832. "tax_amount" : 0,
  833. "product_id" : 16471,
  834. "category" : "Women's Clothing",
  835. "sku" : "ZO0074100741",
  836. "taxless_price" : 20.99,
  837. "unit_discount_amount" : 0,
  838. "min_price" : 9.66,
  839. "_id" : "sold_product_727462_16471",
  840. "discount_amount" : 0,
  841. "created_on" : "2016-12-18T00:59:02+00:00",
  842. "product_name" : "Vest - black/Chocolate",
  843. "price" : 20.99,
  844. "taxful_price" : 20.99,
  845. "base_unit_price" : 20.99
  846. },
  847. {
  848. "base_price" : 16.99,
  849. "discount_percentage" : 0,
  850. "quantity" : 1,
  851. "manufacturer" : "Pyramidustries active",
  852. "tax_amount" : 0,
  853. "product_id" : 10554,
  854. "category" : "Women's Clothing",
  855. "sku" : "ZO0223202232",
  856. "taxless_price" : 16.99,
  857. "unit_discount_amount" : 0,
  858. "min_price" : 7.82,
  859. "_id" : "sold_product_727462_10554",
  860. "discount_amount" : 0,
  861. "created_on" : "2016-12-18T00:59:02+00:00",
  862. "product_name" : "Tracksuit bottoms - Pale Violet Red",
  863. "price" : 16.99,
  864. "taxful_price" : 16.99,
  865. "base_unit_price" : 16.99
  866. },
  867. {
  868. "base_price" : 41.99,
  869. "discount_percentage" : 0,
  870. "quantity" : 1,
  871. "manufacturer" : "Oceanavigations",
  872. "tax_amount" : 0,
  873. "product_id" : 22882,
  874. "category" : "Women's Clothing",
  875. "sku" : "ZO0267602676",
  876. "taxless_price" : 41.99,
  877. "unit_discount_amount" : 0,
  878. "min_price" : 23.09,
  879. "_id" : "sold_product_727462_22882",
  880. "discount_amount" : 0,
  881. "created_on" : "2016-12-18T00:59:02+00:00",
  882. "product_name" : "Cardigan - black",
  883. "price" : 41.99,
  884. "taxful_price" : 41.99,
  885. "base_unit_price" : 41.99
  886. }
  887. ],
  888. "sku" : [
  889. "ZO0186801868",
  890. "ZO0074100741",
  891. "ZO0223202232",
  892. "ZO0267602676"
  893. ],
  894. "taxful_total_price" : 88.96,
  895. "taxless_total_price" : 88.96,
  896. "total_quantity" : 4,
  897. "total_unique_products" : 4,
  898. "type" : "order",
  899. "user" : "wilhemina",
  900. "geoip" : {
  901. "country_iso_code" : "MC",
  902. "location" : {
  903. "lon" : 7.4,
  904. "lat" : 43.7
  905. },
  906. "continent_name" : "Europe",
  907. "city_name" : "Monte Carlo"
  908. }
  909. }
  910. },
  911. {
  912. "_index" : "kibana_sample_data_ecommerce",
  913. "_type" : "_doc",
  914. "_id" : "WnYbP24B9uEN4vPiBjWQ",
  915. "_score" : 1.0,
  916. "_source" : {
  917. "category" : [
  918. "Women's Shoes",
  919. "Women's Clothing"
  920. ],
  921. "currency" : "EUR",
  922. "customer_first_name" : "Rabbia Al",
  923. "customer_full_name" : "Rabbia Al Baker",
  924. "customer_gender" : "FEMALE",
  925. "customer_id" : 5,
  926. "customer_last_name" : "Baker",
  927. "customer_phone" : "",
  928. "day_of_week" : "Monday",
  929. "day_of_week_i" : 0,
  930. "email" : "rabbia al@baker-family.zzz",
  931. "manufacturer" : [
  932. "Oceanavigations",
  933. "Tigress Enterprises",
  934. "Champion Arts",
  935. "Pyramidustries"
  936. ],
  937. "order_date" : "2019-11-25T03:41:46+00:00",
  938. "order_id" : 727269,
  939. "products" : [
  940. {
  941. "base_price" : 74.99,
  942. "discount_percentage" : 0,
  943. "quantity" : 1,
  944. "manufacturer" : "Oceanavigations",
  945. "tax_amount" : 0,
  946. "product_id" : 22880,
  947. "category" : "Women's Shoes",
  948. "sku" : "ZO0249902499",
  949. "taxless_price" : 74.99,
  950. "unit_discount_amount" : 0,
  951. "min_price" : 35.25,
  952. "_id" : "sold_product_727269_22880",
  953. "discount_amount" : 0,
  954. "created_on" : "2016-12-26T03:41:46+00:00",
  955. "product_name" : "Boots - black",
  956. "price" : 74.99,
  957. "taxful_price" : 74.99,
  958. "base_unit_price" : 74.99
  959. },
  960. {
  961. "base_price" : 32.99,
  962. "discount_percentage" : 0,
  963. "quantity" : 1,
  964. "manufacturer" : "Tigress Enterprises",
  965. "tax_amount" : 0,
  966. "product_id" : 12484,
  967. "category" : "Women's Clothing",
  968. "sku" : "ZO0068400684",
  969. "taxless_price" : 32.99,
  970. "unit_discount_amount" : 0,
  971. "min_price" : 17.48,
  972. "_id" : "sold_product_727269_12484",
  973. "discount_amount" : 0,
  974. "created_on" : "2016-12-26T03:41:46+00:00",
  975. "product_name" : "Cardigan - black/white",
  976. "price" : 32.99,
  977. "taxful_price" : 32.99,
  978. "base_unit_price" : 32.99
  979. },
  980. {
  981. "base_price" : 13.99,
  982. "discount_percentage" : 0,
  983. "quantity" : 1,
  984. "manufacturer" : "Champion Arts",
  985. "tax_amount" : 0,
  986. "product_id" : 21362,
  987. "category" : "Women's Clothing",
  988. "sku" : "ZO0494704947",
  989. "taxless_price" : 13.99,
  990. "unit_discount_amount" : 0,
  991. "min_price" : 6.58,
  992. "_id" : "sold_product_727269_21362",
  993. "discount_amount" : 0,
  994. "created_on" : "2016-12-26T03:41:46+00:00",
  995. "product_name" : "Long sleeved top - blue",
  996. "price" : 13.99,
  997. "taxful_price" : 13.99,
  998. "base_unit_price" : 13.99
  999. },
  1000. {
  1001. "base_price" : 49.99,
  1002. "discount_percentage" : 0,
  1003. "quantity" : 1,
  1004. "manufacturer" : "Pyramidustries",
  1005. "tax_amount" : 0,
  1006. "product_id" : 13854,
  1007. "category" : "Women's Shoes",
  1008. "sku" : "ZO0143401434",
  1009. "taxless_price" : 49.99,
  1010. "unit_discount_amount" : 0,
  1011. "min_price" : 25.49,
  1012. "_id" : "sold_product_727269_13854",
  1013. "discount_amount" : 0,
  1014. "created_on" : "2016-12-26T03:41:46+00:00",
  1015. "product_name" : "Lace-up boots - black",
  1016. "price" : 49.99,
  1017. "taxful_price" : 49.99,
  1018. "base_unit_price" : 49.99
  1019. }
  1020. ],
  1021. "sku" : [
  1022. "ZO0249902499",
  1023. "ZO0068400684",
  1024. "ZO0494704947",
  1025. "ZO0143401434"
  1026. ],
  1027. "taxful_total_price" : 171.96,
  1028. "taxless_total_price" : 171.96,
  1029. "total_quantity" : 4,
  1030. "total_unique_products" : 4,
  1031. "type" : "order",
  1032. "user" : "rabbia",
  1033. "geoip" : {
  1034. "country_iso_code" : "AE",
  1035. "location" : {
  1036. "lon" : 55.3,
  1037. "lat" : 25.3
  1038. },
  1039. "region_name" : "Dubai",
  1040. "continent_name" : "Asia",
  1041. "city_name" : "Dubai"
  1042. }
  1043. }
  1044. }
  1045. ]
  1046. }
  1047. }

  相关性的衡量

1 Precision(查准率)_尽可能返回较少的无关

2 Recall (查全率)_ 尽量返回较多的相关文档

3 Ranking—是否能够按照相关匹配度进行排序

es 搜索功能简介的更多相关文章

  1. (视频) 《快速创建网站》 2.3 WordPress初始化和功能简介

    本文是<快速创建网站>系列的第4篇,如果你还没有看过之前的内容,建议你点击以下目录中的章节先阅读其他内容再回到本文. 访问本系列目录,请点击:http://devopshub.cn/tag ...

  2. Beginning SDL 2.0(1) SDL功能简介

    原文链接为 http://wiki.libsdl.org/Introduction. 由于近期整理音视频可视化的技术,发现好久不更新的SDL发布了2.0版本,以前也没有过于关注,这里准备尝试下.了解S ...

  3. 【Android】3.12 兴趣点( POI)搜索功能

    分类:C#.Android.VS2015.百度地图应用: 创建日期:2016-02-04 一.简介 POI(Point of Interest),中文可以翻译为“兴趣点”.在地理信息系统中,一个POI ...

  4. C#下利用正则表达式实现字符串搜索功能的方法(转)

    关键字:正则表达式.元字符.字符串.匹配: 1.正则表达式简介:正则表达式提供了功能强大.灵活而又高效的方法来处:.NET框架正则表达式并入了其他正则表达式实现的: 2.字符串搜索:正则表达式语言由两 ...

  5. Django之使用haystack+whoosh实现搜索功能

    为了实现项目中的搜索功能,我们使用的是全文检索框架haystack+搜索引擎whoosh+中文分词包jieba 安装和配置 安装所需包 pip install django-haystack pip ...

  6. Visual Assist之Hashtags功能简介

    Visual Assist是一款非常好的Visual Studio下开发的插件,网上已经有很多关于它的配置以及相关介绍,本文不再赘述.本文将注重介绍它的Hashtags功能. 本文主要内容来自于官网介 ...

  7. 如何在Web前端实现CAD图文字全文搜索功能之技术分享

    现状 在CAD看图过程中我们经常会需要用到查找文字的功能,在AutoCAD软件查找一个文字时,可以通过打开左下角输入命令find,输入查找的文字,然后设置查找范围,就可以搜索到需要查询的文字.但在We ...

  8. Android搜索功能的案例,本地保存搜索历史记录......

    开发的APP有一个搜索功能,并且需要显示搜索的历史记录,我闲暇之余帮她开发了这个功能,现把该页面抽取成一个demo分享给大家. 实现效果如图所示:  本案例实现起来很简单,所以可以直接拿来嵌入项目中使 ...

  9. Yii 1开发日记 -- 搜索功能及Checkbox的实现

    用yii 1实现后台的搜索功能,效果如下图: 1.模型中: public function search() { $criteria = new CDbCriteria; //独立高级搜索 if(is ...

随机推荐

  1. jmeter+ant+jenkins接口自动化测试框架

    大致思路:Jmeter可以做接口测试,也能做压力测试,而且是开源软件:Ant是基于Java的构建工具,完成脚本执行并收集结果生成报告,可以跨平台,Jenkins是持续集成工具.将这三者结合起来可以搭建 ...

  2. 励志成为优产的母猪--------猜数游戏 ,历史记录,pickle保存,队列deque

    # pickle 可以处理复杂的序列化语法.(例如自定义的类的方法,游戏的存档等),存档以文件的形式保存 参见 https://www.cnblogs.com/abobo/p/8080447.html ...

  3. chrome headless+selenium+python+(ubuntu 16.04/centos7) 下的实现

    Ubuntu 16.04 下: 0x01 安装chrome 1 下载源加入系统源列表 sudo wget http://www.linuxidc.com/files/repo/google-chrom ...

  4. webview在compileSdkVersion 大于等于23 android6.0以上系统执行js代码异常,但是在compileSdkVersion小于23 android6.0以下系统却执行正常问题

    问题分析: 在compileSdkVersion>=23 android6.0以上webview.loadUrl用这个方法执行js时会将js中的一些代码当做特殊字符处理, 比如js中var t= ...

  5. LNMP调优

    1.编译安装nginx前修改: 在安装包目录下  vim src/core/nginx.h //#号不代表注释 #define nginx_version      1009009 //软件版本号 # ...

  6. 快递查询API

    https://market.aliyun.com/products/56928004/cmapi014394.html#sku=yuncode839400000

  7. Java - Test - TestNG: testng.xml 元素 class

    Java - Test - TestNG: testng.xml 元素 class 1. 概述 class 相关的元素 classes class methods exclude include 2. ...

  8. java调用第三方接口(转载)

    在很多时候有些别人做过的东西直接拿来用就好了,例如:身份证的信息.某个地区的天气.电话归属地等等. 代码 //import com.alibaba.fastjson.JSONObject; impor ...

  9. Nginx做缓存

    查看服务 netstat -lntp|grep 80 Nginx作为缓存WEB服务 通常情况下缓存是用来减少后端压力, 将压力尽可能的往前推, 减少后端压力,提高网站并发延时 Nginx代理缓存原理 ...

  10. 谁偷偷删了你的微信?别慌!Python 揪出来

    不知道你有没有经历过,想联系一位很长时间没有联系的朋友,发现对方很早以前已经把你删除了,而你还一无所知. 相信每个人的微信通信录里都存在一些「僵尸粉」,他们默默地躺在联系人列表中,你以为对方还是朋友, ...