This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
va/Assignment2_part1/mappings.json

51 lines
833 B
JSON
Raw Permalink Normal View History

2023-04-24 07:49:04 +00:00
{
"properties": {
"id": {
"type": "long"
},
"name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"city": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"location": {
"type": "geo_point"
},
"averageCostForTwo": {
"type": "float"
},
"aggregateRating": {
"type": "float"
},
"ratingText": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"votes": {
"type": "float"
},
"date": {
"type": "date",
"format": "date_optional_time"
}
}
}