-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#1997) * Added ecommerce index and field mappings to exampl dir in github Signed-off-by: JeffH-AWS <jeffhuss@amazon.com> * Fixed index file for bulk API syntax Signed-off-by: JeffH-AWS <jeffhuss@amazon.com> Signed-off-by: JeffH-AWS <jeffhuss@amazon.com> (cherry picked from commit 483ba35) Co-authored-by: Jeff Huss <jeffhuss@amazon.com>
- Loading branch information
1 parent
abaa776
commit b1202a5
Showing
2 changed files
with
9,556 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
{ | ||
"mappings" : { | ||
"properties" : { | ||
"category" : { | ||
"type" : "text", | ||
"fields" : { | ||
"keyword" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"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" | ||
}, | ||
"event" : { | ||
"properties" : { | ||
"dataset" : { | ||
"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" | ||
} | ||
} | ||
}, | ||
"manufacturer" : { | ||
"type" : "text", | ||
"fields" : { | ||
"keyword" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"order_date" : { | ||
"type" : "date" | ||
}, | ||
"order_id" : { | ||
"type" : "keyword" | ||
}, | ||
"products" : { | ||
"properties" : { | ||
"_id" : { | ||
"type" : "text", | ||
"fields" : { | ||
"keyword" : { | ||
"type" : "keyword", | ||
"ignore_above" : 256 | ||
} | ||
} | ||
}, | ||
"base_price" : { | ||
"type" : "half_float" | ||
}, | ||
"base_unit_price" : { | ||
"type" : "half_float" | ||
}, | ||
"category" : { | ||
"type" : "text", | ||
"fields" : { | ||
"keyword" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"created_on" : { | ||
"type" : "date" | ||
}, | ||
"discount_amount" : { | ||
"type" : "half_float" | ||
}, | ||
"discount_percentage" : { | ||
"type" : "half_float" | ||
}, | ||
"manufacturer" : { | ||
"type" : "text", | ||
"fields" : { | ||
"keyword" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"min_price" : { | ||
"type" : "half_float" | ||
}, | ||
"price" : { | ||
"type" : "half_float" | ||
}, | ||
"product_id" : { | ||
"type" : "long" | ||
}, | ||
"product_name" : { | ||
"type" : "text", | ||
"fields" : { | ||
"keyword" : { | ||
"type" : "keyword" | ||
} | ||
}, | ||
"analyzer" : "english" | ||
}, | ||
"quantity" : { | ||
"type" : "integer" | ||
}, | ||
"sku" : { | ||
"type" : "keyword" | ||
}, | ||
"tax_amount" : { | ||
"type" : "half_float" | ||
}, | ||
"taxful_price" : { | ||
"type" : "half_float" | ||
}, | ||
"taxless_price" : { | ||
"type" : "half_float" | ||
}, | ||
"unit_discount_amount" : { | ||
"type" : "half_float" | ||
} | ||
} | ||
}, | ||
"sku" : { | ||
"type" : "keyword" | ||
}, | ||
"taxful_total_price" : { | ||
"type" : "half_float" | ||
}, | ||
"taxless_total_price" : { | ||
"type" : "half_float" | ||
}, | ||
"total_quantity" : { | ||
"type" : "integer" | ||
}, | ||
"total_unique_products" : { | ||
"type" : "integer" | ||
}, | ||
"type" : { | ||
"type" : "keyword" | ||
}, | ||
"user" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.