I want to index one field that contains only time in HH:mm:ss.SSS format. Which datatype I can use to store this field in elasticsearch.
You can use the date
mapping type with a specific date format to accomodate your data:
{
"my_field": {
"type": "date",
"format": "hour_minute_second_fraction"
}
}