Hi
Is this a bug? I can't use a type long field for a time_series_dimension. this is a simple example:
PUT /temperature01
{
"settings": {
"index": {
"mode": "time_series",
"time_series": {
"start_time": "2023-01-01T00:00:00Z",
"end_time": "2023-01-03T23:59:59Z"
},
"routing_path": [
"thermometer.id"
],
"number_of_replicas": 0,
"number_of_shards": 1
}
},
"mappings": {
"properties": {
"@timestamp": {
"type": "date"
},
"thermometer": {
"properties": {
"id": {
"type": "long",
"time_series_dimension": true
},
"value": {
"type": "long",
"time_series_metric": "gauge"
}
}
}
}
}
}
If I change it to keyword the thermometer.id then it works, but in the documentation it says it should accept type Long