On Github diegok / soysuper-esearch-talk
name: "Cerveza", brand: "Estrella Damm", variant: "Pack 12x25 cl", v: { measure: "cl", quantifier: "25", container: "botellin", multiplier: "12" }, keywords: [ "bebida", "cerveza", "nacional", "rubia", "extra" ], category_path: [ "bebidas/cerveza/nacional" ], brands: [ ... ], ...
price: { condis: { 511e1b30a2c8bc21740006aa: [ 5.39 ], }, carrefour: { 4ff30e32c27e95590200001d: [ 5.56, 'Deal' ], 4ff30e2fc27e95590200000c: [ 5.35 ], ... }, mercadona: { 53d838fa9717d5d27d000000: [ 5.39 ], 53a2c4f78e6fd283ac000000: [ 4.3 ], ... }, ... _mean: 5.34 }
price: { type: "object", enabled: false }
warehouse: [ "511e1b30a2c8bc21740006aa", "4ff30e6a5832e48b02000000", "5440df745488b4a35500003c", ... ], supermarket: [ "condis", "mercadona", "corteingles", "carrefour", "eroski" ], deal: [ "carrefour", "511e1b30a2c8bc21740006aa", ... ],
mean_price: { condis: 5.39, mercadona: 5.34, corteingles: 5.25, carrefour: 5.52, mean: 5.29, eroski: 4.95 }
{ ... "query" : { "query_string" : { "fields" : [ "name^40", "name.stem^35", "brands^10", "brands.stem^2", "variant^5", "variant.stem", "keywords", "tags", "category_name^4", ], "query" : "cerveza", "default_operator" : "AND" } ... "_source" : { "include" : [ "price.mercadona.51577e06e9725936090417ea", ... ] }, ... }