From a45583d77a6516a6aa74ada363428ecff72853d2 Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Wed, 20 Mar 2024 22:52:16 -0500 Subject: [PATCH] fix type and tag searches (#1649) --- ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs b/ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs index 2ed2cb84b..4382101ab 100644 --- a/ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs +++ b/ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs @@ -1377,8 +1377,11 @@ public sealed class LuceneSearchIndex : ISearchIndex using var analyzer = new SimpleAnalyzer(AppLuceneVersion); var customAnalyzers = new Dictionary { - { ShowContentRatingField, new KeywordAnalyzer() }, + { TypeField, new KeywordAnalyzer() }, + { TagField, new KeywordAnalyzer() }, + { ShowTagField, new KeywordAnalyzer() }, { ContentRatingField, new KeywordAnalyzer() }, + { ShowContentRatingField, new KeywordAnalyzer() }, { StateField, new KeywordAnalyzer() }, { PlotField, new StandardAnalyzer(AppLuceneVersion) } };