fix date epoch sec format

This commit is contained in:
Simon 2023-08-30 11:54:02 +07:00
parent 3e9f1a392a
commit 58ef8f753f
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -37,7 +37,8 @@
"type": "text" "type": "text"
}, },
"channel_last_refresh": { "channel_last_refresh": {
"type": "date" "type": "date",
"format": "epoch_second"
}, },
"channel_tags": { "channel_tags": {
"type": "text", "type": "text",
@ -90,7 +91,8 @@
"index": false "index": false
}, },
"date_downloaded": { "date_downloaded": {
"type": "date" "type": "date",
"format": "epoch_second"
}, },
"channel": { "channel": {
"properties": { "properties": {
@ -129,7 +131,8 @@
"type": "text" "type": "text"
}, },
"channel_last_refresh": { "channel_last_refresh": {
"type": "date" "type": "date",
"format": "epoch_second"
}, },
"channel_tags": { "channel_tags": {
"type": "text", "type": "text",
@ -196,7 +199,8 @@
} }
}, },
"vid_last_refresh": { "vid_last_refresh": {
"type": "date" "type": "date",
"format": "epoch_second"
}, },
"youtube_id": { "youtube_id": {
"type": "keyword" "type": "keyword"
@ -289,7 +293,8 @@
"sponsorblock": { "sponsorblock": {
"properties": { "properties": {
"last_refresh": { "last_refresh": {
"type": "date" "type": "date",
"format": "epoch_second"
}, },
"has_unlocked": { "has_unlocked": {
"type": "boolean" "type": "boolean"
@ -341,7 +346,8 @@
"index_name": "download", "index_name": "download",
"expected_map": { "expected_map": {
"timestamp": { "timestamp": {
"type": "date" "type": "date",
"format": "epoch_second"
}, },
"channel_id": { "channel_id": {
"type": "keyword" "type": "keyword"
@ -439,7 +445,8 @@
"type": "keyword" "type": "keyword"
}, },
"playlist_last_refresh": { "playlist_last_refresh": {
"type": "date" "type": "date",
"format": "epoch_second"
} }
}, },
"expected_set": { "expected_set": {
@ -493,7 +500,8 @@
"type": "text" "type": "text"
}, },
"subtitle_last_refresh": { "subtitle_last_refresh": {
"type": "date" "type": "date",
"format": "epoch_second"
}, },
"subtitle_index": { "subtitle_index": {
"type" : "long" "type" : "long"
@ -528,7 +536,8 @@
"type": "keyword" "type": "keyword"
}, },
"comment_last_refresh": { "comment_last_refresh": {
"type": "date" "type": "date",
"format": "epoch_second"
}, },
"comment_channel_id": { "comment_channel_id": {
"type": "keyword" "type": "keyword"
@ -542,7 +551,8 @@
"type" : "text" "type" : "text"
}, },
"comment_timestamp": { "comment_timestamp": {
"type": "date" "type": "date",
"format": "epoch_second"
}, },
"comment_time_text": { "comment_time_text": {
"type" : "text" "type" : "text"