Created
August 10, 2017 16:57
-
-
Save gingerwizard/16cfa5cbcdfdb79a2932bd0912bee943 to your computer and use it in GitHub Desktop.
Template for main index on ecommerce demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "cyclops": { | |
| "aliases": {}, | |
| "mappings": { | |
| "product": { | |
| "properties": { | |
| "attributes": { | |
| "properties": { | |
| "color": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| }, | |
| "fielddata": true | |
| }, | |
| "gender": { | |
| "type": "keyword" | |
| }, | |
| "hex_color": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "day_of_week": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week_i": { | |
| "type": "integer" | |
| }, | |
| "default_price": { | |
| "type": "short" | |
| }, | |
| "description": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| } | |
| } | |
| }, | |
| "discount_amount": { | |
| "type": "short" | |
| }, | |
| "discount_percentage": { | |
| "type": "short" | |
| }, | |
| "is_variation_parent": { | |
| "type": "boolean" | |
| }, | |
| "manufacturer": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "margin": { | |
| "type": "short" | |
| }, | |
| "min_price": { | |
| "type": "short" | |
| }, | |
| "mode": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "on_offer": { | |
| "type": "boolean" | |
| }, | |
| "pk": { | |
| "type": "keyword" | |
| }, | |
| "pki": { | |
| "type": "keyword" | |
| }, | |
| "price": { | |
| "type": "short" | |
| }, | |
| "primary_image": { | |
| "properties": { | |
| "id": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "product_id": { | |
| "type": "keyword" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "rating": { | |
| "type": "integer" | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| }, | |
| "slug": { | |
| "type": "keyword" | |
| }, | |
| "suggest_source": { | |
| "type": "text", | |
| "analyzer": "suggestion_analyzer", | |
| "fielddata": true | |
| }, | |
| "tax_class_id": { | |
| "type": "long" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, | |
| "type_id": { | |
| "type": "long" | |
| }, | |
| "version": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "blacklisted_product": { | |
| "properties": { | |
| "basket_id": { | |
| "type": "keyword" | |
| }, | |
| "basket_key": { | |
| "type": "keyword" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "customer_gender": { | |
| "type": "keyword" | |
| }, | |
| "customer_id": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week_i": { | |
| "type": "integer" | |
| }, | |
| "enabled": { | |
| "type": "boolean" | |
| }, | |
| "finished_on": { | |
| "type": "date" | |
| }, | |
| "original_query": { | |
| "type": "keyword" | |
| }, | |
| "pk": { | |
| "type": "keyword" | |
| }, | |
| "product_id": { | |
| "type": "keyword" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "query": { | |
| "type": "text" | |
| }, | |
| "session_key": { | |
| "type": "keyword" | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, | |
| "user": { | |
| "type": "keyword" | |
| }, | |
| "version": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "basket": { | |
| "properties": { | |
| "basket_id": { | |
| "type": "keyword" | |
| }, | |
| "basket_key": { | |
| "type": "keyword" | |
| }, | |
| "billing_city": { | |
| "type": "keyword" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "currency": { | |
| "type": "keyword" | |
| }, | |
| "customer_birth_date": { | |
| "type": "date" | |
| }, | |
| "customer_first_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_full_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_gender": { | |
| "type": "keyword" | |
| }, | |
| "customer_id": { | |
| "type": "keyword" | |
| }, | |
| "customer_last_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_phone": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week_i": { | |
| "type": "integer" | |
| }, | |
| "deleted": { | |
| "type": "boolean" | |
| }, | |
| "finished": { | |
| "type": "boolean" | |
| }, | |
| "geoip": { | |
| "properties": { | |
| "city_name": { | |
| "type": "keyword" | |
| }, | |
| "continent_name": { | |
| "type": "keyword" | |
| }, | |
| "country_iso_code": { | |
| "type": "keyword" | |
| }, | |
| "location": { | |
| "type": "geo_point" | |
| }, | |
| "region_name": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "ip_address": { | |
| "type": "ip" | |
| }, | |
| "is_anonymous": { | |
| "type": "boolean" | |
| }, | |
| "merchant_notes": { | |
| "properties": { | |
| "customer_segment": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_type": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "pk": { | |
| "type": "keyword" | |
| }, | |
| "prices_include_tax": { | |
| "type": "boolean" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "products": { | |
| "properties": { | |
| "_id": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "accounting_identifier": { | |
| "type": "keyword" | |
| }, | |
| "base_price": { | |
| "type": "short" | |
| }, | |
| "base_unit_price": { | |
| "type": "short" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "discount_amount": { | |
| "type": "short" | |
| }, | |
| "discount_percentage": { | |
| "type": "short" | |
| }, | |
| "line_id": { | |
| "type": "keyword" | |
| }, | |
| "manufacturer": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "min_price": { | |
| "type": "short" | |
| }, | |
| "price": { | |
| "type": "short" | |
| }, | |
| "product_click": { | |
| "properties": { | |
| "referer_product_id": { | |
| "type": "keyword" | |
| }, | |
| "referer_product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "source": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "product_id": { | |
| "type": "keyword" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "quantity": { | |
| "type": "integer" | |
| }, | |
| "require_verification": { | |
| "type": "boolean" | |
| }, | |
| "search_promoted": { | |
| "type": "boolean" | |
| }, | |
| "search_promoted_text": { | |
| "type": "keyword" | |
| }, | |
| "shop_id": { | |
| "type": "long" | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| }, | |
| "supplier": { | |
| "type": "long" | |
| }, | |
| "supplier_id": { | |
| "type": "long" | |
| }, | |
| "tax_amount": { | |
| "type": "short" | |
| }, | |
| "tax_class_id": { | |
| "type": "long" | |
| }, | |
| "taxful_price": { | |
| "type": "float" | |
| }, | |
| "taxless_price": { | |
| "type": "float" | |
| }, | |
| "text": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "unit_discount_amount": { | |
| "type": "short" | |
| }, | |
| "version": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "session_key": { | |
| "type": "keyword" | |
| }, | |
| "shipping_city": { | |
| "type": "keyword" | |
| }, | |
| "taxful_total_price": { | |
| "type": "float" | |
| }, | |
| "taxless_total_price": { | |
| "type": "float" | |
| }, | |
| "total_quantity": { | |
| "type": "integer" | |
| }, | |
| "total_unique_products": { | |
| "type": "integer" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, | |
| "updated_on": { | |
| "type": "date" | |
| }, | |
| "user": { | |
| "type": "keyword" | |
| }, | |
| "version": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "sold_product": { | |
| "properties": { | |
| "accounting_identifier": { | |
| "type": "keyword" | |
| }, | |
| "base_price": { | |
| "type": "short" | |
| }, | |
| "base_unit_price": { | |
| "type": "short" | |
| }, | |
| "basket_id": { | |
| "type": "keyword" | |
| }, | |
| "basket_key": { | |
| "type": "keyword" | |
| }, | |
| "billing_city": { | |
| "type": "keyword" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "currency": { | |
| "type": "keyword" | |
| }, | |
| "customer_first_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_full_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_gender": { | |
| "type": "keyword" | |
| }, | |
| "customer_id": { | |
| "type": "keyword" | |
| }, | |
| "customer_last_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "day_of_week": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week_i": { | |
| "type": "integer" | |
| }, | |
| "discount_amount": { | |
| "type": "short" | |
| }, | |
| "discount_percentage": { | |
| "type": "short" | |
| }, | |
| "geoip": { | |
| "properties": { | |
| "city_name": { | |
| "type": "keyword" | |
| }, | |
| "continent_name": { | |
| "type": "keyword" | |
| }, | |
| "country_iso_code": { | |
| "type": "keyword" | |
| }, | |
| "location": { | |
| "type": "geo_point" | |
| }, | |
| "region_name": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "ip_address": { | |
| "type": "ip" | |
| }, | |
| "is_anonymous": { | |
| "type": "boolean" | |
| }, | |
| "manufacturer": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "merchant_notes": { | |
| "properties": { | |
| "customer_segment": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_type": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "min_price": { | |
| "type": "short" | |
| }, | |
| "order_id": { | |
| "type": "keyword" | |
| }, | |
| "pk": { | |
| "type": "keyword" | |
| }, | |
| "previous_order_count": { | |
| "type": "integer" | |
| }, | |
| "price": { | |
| "type": "short" | |
| }, | |
| "product_click": { | |
| "properties": { | |
| "referer_product_id": { | |
| "type": "keyword" | |
| }, | |
| "referer_product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "source": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "product_id": { | |
| "type": "keyword" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "quantity": { | |
| "type": "integer" | |
| }, | |
| "search_promoted": { | |
| "type": "boolean" | |
| }, | |
| "search_promoted_text": { | |
| "type": "keyword" | |
| }, | |
| "session_key": { | |
| "type": "keyword" | |
| }, | |
| "shipping_city": { | |
| "type": "keyword" | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| }, | |
| "tax_amount": { | |
| "type": "short" | |
| }, | |
| "taxful_price": { | |
| "type": "short" | |
| }, | |
| "taxful_total_price_value": { | |
| "type": "float" | |
| }, | |
| "taxless_price": { | |
| "type": "short" | |
| }, | |
| "taxless_total_price_value": { | |
| "type": "float" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, | |
| "unit_discount_amount": { | |
| "type": "short" | |
| }, | |
| "user": { | |
| "type": "keyword" | |
| }, | |
| "version": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "campaign": { | |
| "properties": { | |
| "active": { | |
| "type": "boolean" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "day_of_week": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week_i": { | |
| "type": "integer" | |
| }, | |
| "effect": { | |
| "type": "keyword" | |
| }, | |
| "effects": { | |
| "properties": { | |
| "description": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "discount_amount": { | |
| "type": "float" | |
| }, | |
| "discount_percentage": { | |
| "type": "half_float" | |
| }, | |
| "name": { | |
| "type": "keyword" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "finished_on": { | |
| "type": "date" | |
| }, | |
| "modified_on": { | |
| "type": "date" | |
| }, | |
| "name": { | |
| "type": "keyword" | |
| }, | |
| "pk": { | |
| "type": "keyword" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "rule": { | |
| "type": "keyword" | |
| }, | |
| "rules": { | |
| "properties": { | |
| "active": { | |
| "type": "boolean" | |
| }, | |
| "category": { | |
| "type": "keyword" | |
| }, | |
| "description": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "name": { | |
| "type": "keyword" | |
| }, | |
| "products": { | |
| "properties": { | |
| "product_name": { | |
| "type": "keyword" | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| }, | |
| "started_on": { | |
| "type": "date" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, | |
| "user_creation_date": { | |
| "type": "date" | |
| }, | |
| "version": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "promoted_product": { | |
| "properties": { | |
| "basket_id": { | |
| "type": "keyword" | |
| }, | |
| "basket_key": { | |
| "type": "keyword" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "customer_gender": { | |
| "type": "keyword" | |
| }, | |
| "customer_id": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week_i": { | |
| "type": "integer" | |
| }, | |
| "enabled": { | |
| "type": "boolean" | |
| }, | |
| "finished_on": { | |
| "type": "date" | |
| }, | |
| "original_query": { | |
| "type": "keyword" | |
| }, | |
| "pk": { | |
| "type": "keyword" | |
| }, | |
| "product_id": { | |
| "type": "keyword" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "query": { | |
| "type": "text" | |
| }, | |
| "session_key": { | |
| "type": "keyword" | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, | |
| "user": { | |
| "type": "keyword" | |
| }, | |
| "version": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "session": { | |
| "properties": { | |
| "basket_id": { | |
| "type": "keyword" | |
| }, | |
| "basket_key": { | |
| "type": "keyword" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "clicked_sku": { | |
| "type": "keyword" | |
| }, | |
| "crawler": { | |
| "type": "boolean" | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "customer_gender": { | |
| "type": "keyword" | |
| }, | |
| "customer_id": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week_i": { | |
| "type": "integer" | |
| }, | |
| "expire_date": { | |
| "type": "date" | |
| }, | |
| "geoip": { | |
| "properties": { | |
| "city_name": { | |
| "type": "keyword" | |
| }, | |
| "continent_name": { | |
| "type": "keyword" | |
| }, | |
| "country_iso_code": { | |
| "type": "keyword" | |
| }, | |
| "location": { | |
| "type": "geo_point" | |
| }, | |
| "region_name": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "ip_address": { | |
| "type": "ip" | |
| }, | |
| "is_anonymous": { | |
| "type": "boolean" | |
| }, | |
| "last_used_date": { | |
| "type": "date" | |
| }, | |
| "num_urls_visited": { | |
| "type": "integer" | |
| }, | |
| "origin": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "pk": { | |
| "type": "keyword" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "s_length": { | |
| "type": "integer" | |
| }, | |
| "session_key": { | |
| "type": "keyword" | |
| }, | |
| "source": { | |
| "type": "keyword" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, | |
| "user": { | |
| "type": "keyword" | |
| }, | |
| "user_id": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "version": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "order": { | |
| "properties": { | |
| "basket_id": { | |
| "type": "keyword" | |
| }, | |
| "basket_key": { | |
| "type": "keyword" | |
| }, | |
| "billing_city": { | |
| "type": "keyword" | |
| }, | |
| "billing_country_code": { | |
| "type": "keyword" | |
| }, | |
| "billing_country_name": { | |
| "type": "keyword" | |
| }, | |
| "billing_first_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "billing_full_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "billing_is_european_union": { | |
| "type": "boolean" | |
| }, | |
| "billing_is_home": { | |
| "type": "boolean" | |
| }, | |
| "billing_last_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "billing_postal_code": { | |
| "type": "keyword" | |
| }, | |
| "billing_region": { | |
| "type": "keyword" | |
| }, | |
| "billing_region_code": { | |
| "type": "keyword" | |
| }, | |
| "billing_street": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "billing_street2": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "billing_street3": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "billing_suffix": { | |
| "type": "keyword" | |
| }, | |
| "billing_tax_number": { | |
| "type": "keyword" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "currency": { | |
| "type": "keyword" | |
| }, | |
| "customer_birth_date": { | |
| "type": "date" | |
| }, | |
| "customer_first_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_full_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_gender": { | |
| "type": "keyword" | |
| }, | |
| "customer_id": { | |
| "type": "keyword" | |
| }, | |
| "customer_last_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_phone": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week_i": { | |
| "type": "integer" | |
| }, | |
| "email": { | |
| "type": "keyword" | |
| }, | |
| "geoip": { | |
| "properties": { | |
| "city_name": { | |
| "type": "keyword" | |
| }, | |
| "continent_name": { | |
| "type": "keyword" | |
| }, | |
| "country_iso_code": { | |
| "type": "keyword" | |
| }, | |
| "location": { | |
| "type": "geo_point" | |
| }, | |
| "region_name": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "ip_address": { | |
| "type": "ip" | |
| }, | |
| "is_anonymous": { | |
| "type": "boolean" | |
| }, | |
| "manufacturer": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "merchant_notes": { | |
| "properties": { | |
| "customer_segment": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "customer_type": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "order_date": { | |
| "type": "date" | |
| }, | |
| "order_id": { | |
| "type": "keyword" | |
| }, | |
| "order_status": { | |
| "type": "keyword" | |
| }, | |
| "payment_date": { | |
| "type": "date" | |
| }, | |
| "payment_method_name": { | |
| "type": "keyword" | |
| }, | |
| "payment_status": { | |
| "type": "keyword" | |
| }, | |
| "pk": { | |
| "type": "keyword" | |
| }, | |
| "previous_order_count": { | |
| "type": "integer" | |
| }, | |
| "prices_include_tax": { | |
| "type": "boolean" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "products": { | |
| "properties": { | |
| "_id": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "accounting_identifier": { | |
| "type": "keyword" | |
| }, | |
| "base_price": { | |
| "type": "short" | |
| }, | |
| "base_unit_price": { | |
| "type": "short" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "discount_amount": { | |
| "type": "short" | |
| }, | |
| "discount_percentage": { | |
| "type": "short" | |
| }, | |
| "manufacturer": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "min_price": { | |
| "type": "short" | |
| }, | |
| "price": { | |
| "type": "short" | |
| }, | |
| "product_click": { | |
| "properties": { | |
| "referer_product_id": { | |
| "type": "keyword" | |
| }, | |
| "referer_product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "source": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "product_id": { | |
| "type": "keyword" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "quantity": { | |
| "type": "integer" | |
| }, | |
| "search_promoted": { | |
| "type": "boolean" | |
| }, | |
| "search_promoted_text": { | |
| "type": "keyword" | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| }, | |
| "tax_amount": { | |
| "type": "short" | |
| }, | |
| "taxful_price": { | |
| "type": "float" | |
| }, | |
| "taxless_price": { | |
| "type": "float" | |
| }, | |
| "unit_discount_amount": { | |
| "type": "short" | |
| } | |
| } | |
| }, | |
| "session_key": { | |
| "type": "keyword" | |
| }, | |
| "shipping_city": { | |
| "type": "keyword" | |
| }, | |
| "shipping_country_code": { | |
| "type": "keyword" | |
| }, | |
| "shipping_country_name": { | |
| "type": "keyword" | |
| }, | |
| "shipping_first_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "shipping_full_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "shipping_is_european_union": { | |
| "type": "boolean" | |
| }, | |
| "shipping_is_home": { | |
| "type": "boolean" | |
| }, | |
| "shipping_last_name": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "shipping_method_name": { | |
| "type": "keyword" | |
| }, | |
| "shipping_phone": { | |
| "type": "keyword" | |
| }, | |
| "shipping_postal_code": { | |
| "type": "keyword" | |
| }, | |
| "shipping_region": { | |
| "type": "keyword" | |
| }, | |
| "shipping_region_code": { | |
| "type": "keyword" | |
| }, | |
| "shipping_status": { | |
| "type": "keyword" | |
| }, | |
| "shipping_street": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "shipping_street2": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "shipping_street3": { | |
| "type": "text", | |
| "fields": { | |
| "keyword": { | |
| "type": "keyword", | |
| "ignore_above": 256 | |
| } | |
| } | |
| }, | |
| "shipping_suffix": { | |
| "type": "keyword" | |
| }, | |
| "shipping_tax_number": { | |
| "type": "keyword" | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| }, | |
| "taxful_total_price": { | |
| "type": "float" | |
| }, | |
| "taxless_total_price": { | |
| "type": "float" | |
| }, | |
| "total_quantity": { | |
| "type": "integer" | |
| }, | |
| "total_unique_products": { | |
| "type": "integer" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, | |
| "user": { | |
| "type": "keyword" | |
| }, | |
| "version": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "promotion_history": { | |
| "properties": { | |
| "basket_id": { | |
| "type": "keyword" | |
| }, | |
| "basket_key": { | |
| "type": "keyword" | |
| }, | |
| "category": { | |
| "type": "text", | |
| "fields": { | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "created_on": { | |
| "type": "date" | |
| }, | |
| "customer_gender": { | |
| "type": "keyword" | |
| }, | |
| "customer_id": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week": { | |
| "type": "keyword" | |
| }, | |
| "day_of_week_i": { | |
| "type": "integer" | |
| }, | |
| "enabled": { | |
| "type": "boolean" | |
| }, | |
| "finished_on": { | |
| "type": "date" | |
| }, | |
| "original_query": { | |
| "type": "keyword" | |
| }, | |
| "pk": { | |
| "type": "keyword" | |
| }, | |
| "product_id": { | |
| "type": "keyword" | |
| }, | |
| "product_name": { | |
| "type": "text", | |
| "fields": { | |
| "english": { | |
| "type": "text", | |
| "analyzer": "english" | |
| }, | |
| "raw": { | |
| "type": "keyword" | |
| } | |
| } | |
| }, | |
| "query": { | |
| "type": "text" | |
| }, | |
| "session_key": { | |
| "type": "keyword" | |
| }, | |
| "sku": { | |
| "type": "keyword" | |
| }, | |
| "state": { | |
| "type": "keyword" | |
| }, | |
| "type": { | |
| "type": "keyword" | |
| }, | |
| "user": { | |
| "type": "keyword" | |
| }, | |
| "version": { | |
| "type": "keyword" | |
| } | |
| } | |
| } | |
| }, | |
| "settings": { | |
| "index": { | |
| "number_of_shards": "5", | |
| "provided_name": "cyclops", | |
| "creation_date": "1497957390702", | |
| "analysis": { | |
| "filter": { | |
| "brand": { | |
| "pattern": "#", | |
| "type": "pattern_replace", | |
| "replacement": " " | |
| }, | |
| "mylength": { | |
| "type": "length", | |
| "min": "2" | |
| } | |
| }, | |
| "analyzer": { | |
| "suggestion_analyzer": { | |
| "filter": [ | |
| "mylength", | |
| "lowercase", | |
| "brand" | |
| ], | |
| "char_filter": [ | |
| "my_char_filter" | |
| ], | |
| "type": "custom", | |
| "tokenizer": "whitespace" | |
| } | |
| }, | |
| "char_filter": { | |
| "my_char_filter": { | |
| "type": "mapping", | |
| "mappings": [ | |
| "/=>\\u0020" | |
| ] | |
| } | |
| } | |
| }, | |
| "number_of_replicas": "1", | |
| "uuid": "iAvizGMrRlOsftmxA4nlIA", | |
| "version": { | |
| "created": "5040099", | |
| "upgraded": "5050199" | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment