HI Mark,
Please find the details below.
Below is the mapping.
PUT /weekly_performance
{
"settings": {
"number_of_shards": 36,
"number_of_replicas": 1,
"index.routing.allocation.total_shards_per_node": 24
},
"mappings": {
"weekly_performance": {
"_all": {
"enabled": false
},
"properties": {
"category1_id": {
"type": "integer"
},
"category2_id": {
"type": "integer"
},
"category3_id": {
"type": "integer"
},
"category2_name": {
"type": "text",
"index": "not_analyzed"
},
"category4_id": {
"type": "text",
"index": "not_analyzed"
},
"category5_id": {
"type": "text",
"index": "not_analyzed"
},
"category6_id": {
"type": "integer"
},
"category6_alt_id": {
"type": "text",
"index": "not_analyzed"
},
"location_id": {
"type": "text",
"index": "not_analyzed"
},
"location_role": {
"type": "text",
"index": "not_analyzed"
},
"location_channel": {
"type": "text",
"index": "not_analyzed"
},
"actual_location_id": {
"type": "text",
"index": "not_analyzed"
},
"actual_location_role": {
"type": "text",
"index": "not_analyzed"
},
"actual_location_channel": {
"type": "text",
"index": "not_analyzed"
},
"performance_code": {
"type": "integer"
},
"week_end_date": {
"type": "date",
"index": "not_analyzed"
},
"week_id": {
"type": "text",
"index": "not_analyzed"
},
"performance_unit_1": {
"type": "double"
},
"performance_a_amount_1": {
"type": "double"
},
"performance_b_amount_1": {
"type": "double"
},
"performance_unit_2": {
"type": "double"
},
"performance_a_amount_2": {
"type": "double"
},
"performance_b_amount_2": {
"type": "double"
},
"performance_unit_3": {
"type": "double"
},
"performance_a_amount_3": {
"type": "double"
},
"performance_b_amount_3": {
"type": "double"
},
"performance_unit_4": {
"type": "double"
},
"performance_a_amount_4": {
"type": "double"
},
"performance_b_amount_4": {
"type": "double"
},
"performance_unit_5": {
"type": "double"
},
"performance_a_amount_5": {
"type": "double"
},
"performance_b_amount_5": {
"type": "double"
},
"performance_unit_6": {
"type": "double"
},
"performance_a_amount_6": {
"type": "double"
},
"performance_b_amount_6": {
"type": "double"
},
"performance_unit_7": {
"type": "double"
},
"performance_a_amount_7": {
"type": "double"
},
"performance_unit_8": {
"type": "double"
},
"performance_a_amount_8": {
"type": "double"
},
"performance_b_amount_8": {
"type": "double"
},
"performance_unit_9": {
"type": "double"
},
"performance_a_amount_9": {
"type": "double"
},
"performance_b_amount_9": {
"type": "double"
},
"performance_unit_10": {
"type": "double"
},
"performance_a_amount_10": {
"type": "double"
},
"performance_unit_11": {
"type": "double"
},
"performance_a_amount_11": {
"type": "double"
},
"performance_unit_12": {
"type": "double"
},
"performance_a_amount_12": {
"type": "double"
},
"performance_unit_13": {
"type": "double"
},
"performance_a_amount_13": {
"type": "double"
},
"performance_a_amount_14": {
"type": "double"
},
"performance_a_amount_15": {
"type": "double"
},
"performance_unit_15": {
"type": "double"
},
"performance_a_amount_15": {
"type": "double"
}
}
}
}
}