Skip to content

Instantly share code, notes, and snippets.

@Idnan
Created June 13, 2020 10:07
Show Gist options
  • Save Idnan/bab028aa46b9bbe71c3639129e226048 to your computer and use it in GitHub Desktop.
Save Idnan/bab028aa46b9bbe71c3639129e226048 to your computer and use it in GitHub Desktop.
Build Facets With Elasticsearch
{ "index" : { "_index" : "products" } }
{"name": "MacBook Pro Touch Bar Laptop With 13.3-Inch Retina Display, Core i5 with 1.4GHz Quad Core Processor/8GB RAM/128GB SSD/Intel Iris Plus Graphics 645/English Keyboard 2019 Space Gray", "attributes": {"brand": "Apple", "processorType": "Core i5"} }
{ "index" : { "_index" : "products" } }
{"name": "MacBook Air With 13.3-Inch Retina Display, Core i3 Processor/8GB RAM/256GB SSD/Intel Iris Plus Graphics With English Keyboard 2020 Space Gray", "attributes": {"brand": "Apple", "processorType": "Core i3"} }
{ "index" : { "_index" : "products" } }
{"name": "MacBook Air 13.3-Inch, Core i5 with 1.8GHz Dual Core Processor/8GBRAM/128GB SSD/Intel HD Graphics 6000 - 2017 Silver", "attributes": {"brand": "Apple", "processorType": "Core i5"} }
{ "index" : { "_index" : "products" } }
{"name": "Macbook Pro With Touch Bar And Touch ID, 13.3-Inch Display, Core i5, 8th Generation,1.4 Ghz Quad Core Processor/8GB RAM/256GB SSD/Intel Iris Plus Graphics 645/Retina Display, English Keyboard-2020 Space Grey", "attributes": {"brand": "Apple", "processorType": "Core i5"} }
{ "index" : { "_index" : "products" } }
{"name": "MacBook Air 13.3-Inch Retina Display, Core i5 with 1.6GHz Dual Core Processor/8GB RAM/128GB SSD/Intel UHD Graphics 617/English Keyboard - 2019 Space Grey", "attributes": {"brand": "Apple", "processorType": "Core i5"} }
{ "index" : { "_index" : "products" } }
{"name": "Renewed - MacBook Air 13.3-Inch, Core i5 with 1.8GHz Dual Core Processor/8GBRAM/128GB SSD/Intel HD Graphics 6000 - 2017 Silver", "attributes": {"brand": "Apple"} }
{ "index" : { "_index" : "products" } }
{"name": "MacBook Pro Touch Bar Laptop 16-Inch Retina Display, Core i9 Processor with 2.3GHz 8core/16GB RAM/1TB SSD/4GB AMD Radeon Pro 5500M Graphic Card English-Arabic Keyboard - 2019 Space Gray", "attributes": {"brand": "Apple"} }
{ "index" : { "_index" : "products" } }
{"name": "MacBook Air 13.3-Inch Retina Display, Core i5 Processor/8GB RAM/128GB SSD/Integrated Graphics With English/Arabic Keyboard - 2017 Silver", "attributes": {"brand": "Apple", "processorType": "Core i5"} }
{ "index" : { "_index" : "products" } }
{"name": "MacBook Pro Touch Bar Laptop With 13.3-Inch Display, Core i5 Processor/8GB RAM/512GB SSD /Integrated Graphics 2018 Space Grey", "attributes": {"brand": "Apple", "processorType": "Core i3"} }
{ "index" : { "_index" : "products" } }
{"name": "ThinkBook 20RW0010AK With 15.6-Inch Display, Intel Core i7 Processor/8GB RAM/1TB HDD/2GB AMD Radeon R620 Graphics Card Mineral Grey", "attributes": {"brand": "Lenovo", "processorType": "Core i7"} }
{ "index" : { "_index" : "products" } }
{"name": "Ideapad S145 Laptop With 14-Inch Display, Core i5 Processor/8GB RAM/1TB HDD+128GB SSD Hybrid Drive/2GB NVIDIA Gforce Graphics With Lenovo B210 Bag And 300 Wireless Mouse Black", "attributes": {"brand": "Lenovo", "processorType": "Core i5"} }
{ "index" : { "_index" : "products" } }
{"name": "Legion Y545 Gaming Laptop With 15.6-Inch Display, Core i7 9750H Processor/16GB RAM/1TB + 512GB SSD/NVIDIA GTX 1660Ti 6GB Graphics Card Black", "attributes": {"brand": "Lenovo", "processorType": "Core i7"} }
{ "index" : { "_index" : "products" } }
{"name": "Thinkpad E490 Laptop With 14-Inch Display, Core i5-8265U Processor/8GB RAM/1TB HDD/Intel HD Graphics Black", "attributes": {"brand": "Lenovo", "processorType": "Core i5"} }
{ "index" : { "_index" : "products" } }
{"name": "IdeaPad 130 Notebook With 15.6-Inch Display, Core i7 Processor/8GB RAM/1TB HDD/2GB NVIDIA GeForce MX110 Graphics Card Black", "attributes": {"brand": "Lenovo", "processorType": "Core i7"} }
{ "index" : { "_index" : "products" } }
{"name": "Pavilion x360 14-dh1026ne Convertible Laptop With 14-Inch Display, Core i5-10210U Processor/8GB RAM/512GB SSD/2GB NVIDIA GeForce MX130 Graphics And English/Arabic Keyboard Silver", "attributes": {"brand": "hp", "processorType": "Core i5"} }
{ "index" : { "_index" : "products" } }
{"name": "15-DY1751MS Laptop With 15.6-Inch Display, Core i5 1035G1 Processor/8GB RAM/512GB SSD /Integrated Intel UHD Graphics Silver", "attributes": {"brand": "hp", "processorType": "Core i5"} }
{ "index" : { "_index" : "products" } }
{"name": "Surface Pro Notebook 2017 With 12.3-Inch Display, Core m3 Processor/4GB RAM/128GB SSD/Intel HD Graphics 615 Black", "attributes": {"brand": "Microsoft", "processorType": "Core m3"} }
{ "index" : { "_index" : "products" } }
{"name": "Elite X2 1012 Convertible 2 In 1 Laptop With 12-Inch Display, Core M3 Processor/4GB RAM/128GB SSD/Integrated Graphics Silver/Black", "attributes": {"brand": "hp", "processorType": "Core m3"} }
{ "index" : { "_index" : "products" } }
{"name": "Galaxy TabPro S Convertible 2-in-1 Laptop With 12-Inch Touchscreen Display/Core m3-6Y30 Processor/8GB RAM/256GB SSD/Intel HD Graphics 515 With Keyboard Gold", "attributes": {"brand": "Samsung", "processorType": "Core m3"} }
{ "index" : { "_index" : "products" } }
{"name": "Chromebook Flip Convertible 2-In-1 Laptop With 12.5-Inch Display, Core M3 Processor/8GB RAM/32GB HDD/Integrated Graphics Silver", "attributes": {"brand": "ASUS", "processorType": "Core m3"} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment