Commit d4fe8192 authored by Pavel Taskov's avatar Pavel Taskov

agilia dataset and mappings

parent ac4822ad
This source diff could not be displayed because it is too large. You can view the blob instead.
PUT travel-demo
{
"mappings": {
"properties": {
"suggestedEndPlaces": {
"type": "object",
"properties": {
"destination": {
"type": "geo_point"
},
"reward": {
"type": "integer"
},
"suggestedBy": {
"type": "keyword"
}
}
},
"id": {
"type": "keyword"
},
"carLicensePlate": {
"type": "text"
},
"users": {
"type": "object",
"properties": {
"userid": {
"type": "keyword"
},
"passengers": {
"type": "integer"
}
}
},
"startPlace": {
"type": "geo_point"
},
"endPlace": {
"type": "geo_point"
},
"startDate": {
"type": "date",
"format": "yyyy-MM-dd"
},
"endDate": {
"type": "date",
"format": "yyyy-MM-dd"
},
"rentForTime": {
"type": "boolean"
},
"seats": {
"type": "integer"
},
"totalPrice": {
"type": "double"
},
"observations": {
"type": "text"
},
"finishedBy": {
"type": "object",
"properties": {
"user": {
"type": "keyword"
},
"moment": {
"type": "date",
"format": "yyyy-MM-dd"
},
"destination": {
"type": "geo_point"
}
}
},
"kmTraveled": {
"type": "double"
},
"priceBalance": {
"type": "double"
},
"depositeBalance": {
"type": "double"
},
"rewardBalance": {
"type": "double"
},
"score": {
"type": "object",
"properties": {
"user": {
"type": "keyword"
},
"value": {
"type": "integer"
}
}
},
"canceled": {
"type": "boolean"
},
"startedBy": {
"type": "object",
"properties": {
"user": {
"type": "keyword"
},
"moment": {
"type": "date",
"format": "yyyy-MM-dd"
},
"destination": {
"type": "geo_point"
}
}
},
"checkedBy": {
"type": "object",
"properties": {
"user": {
"type": "keyword"
},
"moment": {
"type": "date",
"format": "yyyy-MM-dd"
},
"destination": {
"type": "geo_point"
}
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment