From e98ffc00502226c2223339d6e5cbbaf9827bbf53 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 5 Feb 2022 23:50:47 +0700 Subject: [PATCH] add subtitles mapping to video index --- tubearchivist/home/src/es/index_mapping.json | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/tubearchivist/home/src/es/index_mapping.json b/tubearchivist/home/src/es/index_mapping.json index 3272ed3..0ad6494 100644 --- a/tubearchivist/home/src/es/index_mapping.json +++ b/tubearchivist/home/src/es/index_mapping.json @@ -156,6 +156,32 @@ "normalizer": "to_lower" } } + }, + "subtitles": { + "properties": { + "ext": { + "type": "keyword", + "index": false + }, + "lang": { + "type": "keyword", + "index": false + }, + "media_url": { + "type": "keyword", + "index": false + }, + "name": { + "type": "keyword" + }, + "source": { + "type": "keyword" + }, + "url": { + "type": "keyword", + "index": false + } + } } }, "expected_set": {