Skip to content

Commit

Permalink
Remove deprecated _doc from mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed May 13, 2024
1 parent b5c323e commit 06333ce
Showing 1 changed file with 104 additions and 106 deletions.
210 changes: 104 additions & 106 deletions indexers/contacts.index.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,119 +74,117 @@
}
},
"mappings": {
"_doc": {
"_routing": {
"required": true
"_routing": {
"required": true
},
"properties": {
"uuid": {
"type": "keyword"
},
"properties": {
"uuid": {
"type": "keyword"
},
"name": {
"type": "text",
"analyzer": "prefix",
"search_analyzer": "name_search",
"fields": {
"keyword": {
"type": "keyword",
"normalizer": "lowercase"
}
}
},
"status": {
"type": "keyword"
},
"name": {
"type": "text",
"analyzer": "prefix",
"search_analyzer": "name_search",
"fields": {
"type": "nested",
"properties": {
"field": {
"type": "keyword"
},
"text": {
"type": "keyword",
"normalizer": "lowercase"
},
"number": {
"type": "scaled_float",
"scaling_factor": 10000,
"ignore_malformed": true
},
"datetime": {
"type": "date"
},
"state": {
"type": "text",
"analyzer": "locations"
},
"state_keyword": {
"type": "keyword",
"normalizer": "lowercase"
},
"district": {
"type": "text",
"analyzer": "locations"
},
"district_keyword": {
"type": "keyword",
"normalizer": "lowercase"
},
"ward": {
"type": "text",
"analyzer": "locations"
},
"ward_keyword": {
"type": "keyword",
"normalizer": "lowercase"
}
"keyword": {
"type": "keyword",
"normalizer": "lowercase"
}
},
"urns": {
"type": "nested",
"properties": {
"path": {
"type": "text",
"analyzer": "trigrams",
"fields": {
"keyword": {
"type": "keyword",
"normalizer": "lowercase"
}
}
},
"status": {
"type": "keyword"
},
"fields": {
"type": "nested",
"properties": {
"field": {
"type": "keyword"
},
"text": {
"type": "keyword",
"normalizer": "lowercase"
},
"number": {
"type": "scaled_float",
"scaling_factor": 10000,
"ignore_malformed": true
},
"datetime": {
"type": "date"
},
"state": {
"type": "text",
"analyzer": "locations"
},
"state_keyword": {
"type": "keyword",
"normalizer": "lowercase"
},
"district": {
"type": "text",
"analyzer": "locations"
},
"district_keyword": {
"type": "keyword",
"normalizer": "lowercase"
},
"ward": {
"type": "text",
"analyzer": "locations"
},
"ward_keyword": {
"type": "keyword",
"normalizer": "lowercase"
}
}
},
"urns": {
"type": "nested",
"properties": {
"path": {
"type": "text",
"analyzer": "trigrams",
"fields": {
"keyword": {
"type": "keyword",
"normalizer": "lowercase"
}
},
"scheme": {
"type": "keyword",
"normalizer": "lowercase"
}
},
"scheme": {
"type": "keyword",
"normalizer": "lowercase"
}
},
"group_ids": {
"type": "keyword"
},
"flow_id": {
"type": "integer"
},
"flow_history_ids": {
"type": "integer"
},
"tickets": {
"type": "integer"
},
"language": {
"type": "keyword",
"normalizer": "lowercase"
},
"modified_on": {
"type": "date"
},
"created_on": {
"type": "date"
},
"modified_on_mu": {
"type": "long"
},
"last_seen_on": {
"type": "date"
}
},
"group_ids": {
"type": "keyword"
},
"flow_id": {
"type": "integer"
},
"flow_history_ids": {
"type": "integer"
},
"tickets": {
"type": "integer"
},
"language": {
"type": "keyword",
"normalizer": "lowercase"
},
"modified_on": {
"type": "date"
},
"created_on": {
"type": "date"
},
"modified_on_mu": {
"type": "long"
},
"last_seen_on": {
"type": "date"
}
}
}
Expand Down

0 comments on commit 06333ce

Please sign in to comment.