Files
doris/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es7_test2.json
huangzhaowei 4ba93efc98 [Enhance](DOE)Support parse default es iso datetime string (#17412)
* support parse default es iso datetime string
2023-03-10 09:59:20 +08:00

104 lines
1.9 KiB
JSON
Executable File

{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0
},
"aliases": {
"test2": {}
},
"mappings": {
"properties": {
"test1": {
"type": "keyword"
},
"test2": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"test3": {
"type": "double"
},
"test4": {
"type": "date"
},
"test5": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss"
},
"test6": {
"type": "date",
"format": "epoch_millis"
},
"test7": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss || epoch_millis"
},
"test8": {
"type": "date"
},
"c_bool": {
"type": "boolean"
},
"c_byte": {
"type": "byte"
},
"c_short": {
"type": "short"
},
"c_integer": {
"type": "integer"
},
"c_long": {
"type": "long"
},
"c_unsigned_long": {
"type": "unsigned_long"
},
"c_float": {
"type": "float"
},
"c_half_float": {
"type": "half_float"
},
"c_double": {
"type": "double"
},
"c_scaled_float": {
"type": "scaled_float",
"scaling_factor": 0.01
},
"c_date": {
"type": "date",
"format": "yyyy-MM-dd"
},
"c_datetime": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss"
},
"c_keyword": {
"type": "keyword"
},
"c_text": {
"type": "text"
},
"c_ip": {
"type": "ip"
},
"c_person": {
"properties": {
"name": {
"type": "keyword"
},
"age": {
"type": "integer"
}
}
}
}
}
}