From 9a9d35cac47151b500afab0ee544478ed0061041 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 17 Nov 2023 09:44:10 +0700 Subject: [PATCH] explicitly define player mapping, #592 --- tubearchivist/home/src/es/index_mapping.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tubearchivist/home/src/es/index_mapping.json b/tubearchivist/home/src/es/index_mapping.json index d6dda4b..7d486c7 100644 --- a/tubearchivist/home/src/es/index_mapping.json +++ b/tubearchivist/home/src/es/index_mapping.json @@ -252,6 +252,24 @@ } } }, + "player": { + "properties": { + "duration": { + "type": "long" + }, + "duration_str": { + "type": "keyword", + "index": false + }, + "watched": { + "type": "boolean" + }, + "watched_date": { + "type": "date", + "format": "epoch_second" + } + } + }, "subtitles": { "properties": { "ext": {