From fdf99ba08f27a0d88e0050b2d643c6d6dc55eeff Mon Sep 17 00:00:00 2001 From: Chad Currie Date: Mon, 20 Mar 2023 19:28:09 +1300 Subject: [PATCH 1/2] Add missing interface --- src/Examine.Lucene/Search/LuceneBooleanOperationBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Examine.Lucene/Search/LuceneBooleanOperationBase.cs b/src/Examine.Lucene/Search/LuceneBooleanOperationBase.cs index 95c3bf559..781ce3256 100644 --- a/src/Examine.Lucene/Search/LuceneBooleanOperationBase.cs +++ b/src/Examine.Lucene/Search/LuceneBooleanOperationBase.cs @@ -5,7 +5,7 @@ namespace Examine.Lucene.Search { - public abstract class LuceneBooleanOperationBase : IBooleanOperation, INestedBooleanOperation, IOrdering + public abstract class LuceneBooleanOperationBase : IBooleanOperation, INestedBooleanOperation, IOrdering, IFaceting { private readonly LuceneSearchQueryBase _search; From 1b08a1714b4345be1b25362874562a87de61eb49 Mon Sep 17 00:00:00 2001 From: Chad Currie Date: Mon, 20 Mar 2023 19:40:16 +1300 Subject: [PATCH 2/2] fix test --- src/Examine.Lucene/ValueTypeFactoryCollection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Examine.Lucene/ValueTypeFactoryCollection.cs b/src/Examine.Lucene/ValueTypeFactoryCollection.cs index db7bbad27..7917e051f 100644 --- a/src/Examine.Lucene/ValueTypeFactoryCollection.cs +++ b/src/Examine.Lucene/ValueTypeFactoryCollection.cs @@ -83,7 +83,7 @@ private static IReadOnlyDictionary> G {FieldDefinitionTypes.FacetDateHour, name => new DateTimeType(name, loggerFactory, DateResolution.HOUR, true, true)}, {FieldDefinitionTypes.FacetDateMinute, name => new DateTimeType(name, loggerFactory, DateResolution.MINUTE, true, true)}, {FieldDefinitionTypes.FacetFullText, name => new FullTextType(name, loggerFactory, false, true, defaultAnalyzer)}, - {FieldDefinitionTypes.FacetFullTextSortable, name => new FullTextType(name, loggerFactory, false, true, defaultAnalyzer)}, + {FieldDefinitionTypes.FacetFullTextSortable, name => new FullTextType(name, loggerFactory, true, true, defaultAnalyzer)}, };