From b7bfeaf2154f8e02d16d50c55261caa07799b326 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 2 May 2023 11:44:51 +0700 Subject: [PATCH] add channel tags to mapping --- tubearchivist/home/src/es/index_mapping.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tubearchivist/home/src/es/index_mapping.json b/tubearchivist/home/src/es/index_mapping.json index c748204..34baf87 100644 --- a/tubearchivist/home/src/es/index_mapping.json +++ b/tubearchivist/home/src/es/index_mapping.json @@ -39,6 +39,16 @@ "channel_last_refresh": { "type": "date" }, + "channel_tags": { + "type": "text", + "analyzer": "english", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, "channel_overwrites": { "properties": { "download_format": { @@ -121,6 +131,16 @@ "channel_last_refresh": { "type": "date" }, + "channel_tags": { + "type": "text", + "analyzer": "english", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, "channel_overwrites": { "properties": { "download_format": {