fix type and tag searches (#1649)

This commit is contained in:
Jason Dove
2024-03-20 22:52:16 -05:00
committed by GitHub
parent 923b36604c
commit a45583d77a
@@ -1377,8 +1377,11 @@ public sealed class LuceneSearchIndex : ISearchIndex
using var analyzer = new SimpleAnalyzer(AppLuceneVersion);
var customAnalyzers = new Dictionary<string, Analyzer>
{
{ 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) }
};