From d4b1d97f5c5dcb28faf7daac59b4e52dc977f41a Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 15 Apr 2022 15:16:31 +0700 Subject: [PATCH] add mappings for sponsorblock segments --- tubearchivist/home/src/es/index_mapping.json | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/tubearchivist/home/src/es/index_mapping.json b/tubearchivist/home/src/es/index_mapping.json index 9c33f72..f023eef 100644 --- a/tubearchivist/home/src/es/index_mapping.json +++ b/tubearchivist/home/src/es/index_mapping.json @@ -245,6 +245,31 @@ }, "is_enabled": { "type": "boolean" + }, + "segments" : { + "properties" : { + "UUID" : { + "type": "keyword" + }, + "actionType" : { + "type": "keyword" + }, + "category" : { + "type": "keyword" + }, + "locked" : { + "type" : "short" + }, + "segment" : { + "type" : "float" + }, + "videoDuration" : { + "type" : "float" + }, + "votes" : { + "type" : "long" + } + } } } }