diff --git a/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyFacetCounts2.cs b/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyFacetCounts2.cs index 33c13886f6..1241ad6019 100644 --- a/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyFacetCounts2.cs +++ b/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyFacetCounts2.cs @@ -1,4 +1,5 @@ using J2N.Collections.Generic.Extensions; +using Lucene.Net.Index; using Lucene.Net.Support; using NUnit.Framework; using System; @@ -262,7 +263,7 @@ public override void BeforeClass() // LUCENENET specific - renamed from BeforeCl // 4. Segment w/ categories, but only some results IndexWriterConfig conf = NewIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(Random)); - //conf.MergePolicy = NoMergePolicy.INSTANCE; // prevent merges, so we can control the index segments + conf.MergePolicy = NoMergePolicy.COMPOUND_FILES; // prevent merges, so we can control the index segments IndexWriter indexWriter = new IndexWriter(indexDir, conf); ITaxonomyWriter taxoWriter = new DirectoryTaxonomyWriter(taxoDir);