50 lines
833 B
JSON
50 lines
833 B
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|