August 2019
Intermediate to advanced
560 pages
13h 41m
English
Recall that the ETF sample document has seven fixed fields and two optional fields. The following is our static mapping for the sample document:
|
Field name |
JSON datatype |
Mapping datatype |
|
symbol |
string |
keyword |
|
fund_name |
string |
text |
|
rating |
integer |
byte |
|
morningstar_category |
string |
keyword |
|
category |
string |
keyword |
|
family |
string |
keyword |
|
market_cap |
string |
keyword |
|
description |
text |
text with keyword |
|
exchange |
string |
keyword |
Let's delete the cf_etf index first and recreate the same index with static mapping, as shown in the following screenshot:
The user can see that we have not included the exchange field in the mappings ...
Read now
Unlock full access