From 18e504faf220f54a88392a42ea37e2f90f13fa4f Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 20 Nov 2023 14:02:49 +0700 Subject: [PATCH] fix add missining playlist_entries mappings, #605 --- tubearchivist/home/src/es/index_mapping.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/tubearchivist/home/src/es/index_mapping.json b/tubearchivist/home/src/es/index_mapping.json index 52ee884..f74252d 100644 --- a/tubearchivist/home/src/es/index_mapping.json +++ b/tubearchivist/home/src/es/index_mapping.json @@ -477,6 +477,41 @@ "playlist_last_refresh": { "type": "date", "format": "epoch_second" + }, + "playlist_entries": { + "properties": { + "downloaded": { + "type": "boolean" + }, + "idx": { + "type": "long" + }, + "title": { + "type": "text", + "analyzer": "english", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256, + "normalizer": "to_lower" + } + } + }, + "uploader": { + "type": "text", + "analyzer": "english", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256, + "normalizer": "to_lower" + } + } + }, + "youtube_id": { + "type": "keyword" + } + } } }, "expected_set": {