From aae704f3a54cce59e01eb76304aa605c9430ca86 Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Thu, 21 Mar 2024 19:33:50 -0500 Subject: [PATCH] fix searching id fields (#1651) --- ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs b/ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs index 4382101ab..ed4b3fc3d 100644 --- a/ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs +++ b/ErsatzTV.Infrastructure/Search/LuceneSearchIndex.cs @@ -1377,6 +1377,9 @@ public sealed class LuceneSearchIndex : ISearchIndex using var analyzer = new SimpleAnalyzer(AppLuceneVersion); var customAnalyzers = new Dictionary { + { IdField, new KeywordAnalyzer() }, + { LibraryIdField, new KeywordAnalyzer() }, + { LibraryFolderIdField, new KeywordAnalyzer() }, { TypeField, new KeywordAnalyzer() }, { TagField, new KeywordAnalyzer() }, { ShowTagField, new KeywordAnalyzer() },