From 9a5356462f10556b9867b19e71c27e5676e2074d Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Sun, 13 Nov 2016 18:36:47 -0500 Subject: [PATCH] Revert the last change so we continue using randomize similarity for this test. --- .../test/org/apache/lucene/search/grouping/TestGrouping.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/lucene/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java b/lucene/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java index bcdb443472c..2f51c9433c5 100644 --- a/lucene/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java +++ b/lucene/grouping/src/test/org/apache/lucene/search/grouping/TestGrouping.java @@ -64,7 +64,6 @@ import org.apache.lucene.search.grouping.function.FunctionSecondPassGroupingColl import org.apache.lucene.search.grouping.term.TermAllGroupsCollector; import org.apache.lucene.search.grouping.term.TermFirstPassGroupingCollector; import org.apache.lucene.search.grouping.term.TermSecondPassGroupingCollector; -import org.apache.lucene.search.similarities.BM25Similarity; import org.apache.lucene.store.Directory; import org.apache.lucene.util.BytesRef; import org.apache.lucene.util.LuceneTestCase; @@ -141,7 +140,6 @@ public class TestGrouping extends LuceneTestCase { w.addDocument(doc); IndexSearcher indexSearcher = newSearcher(w.getReader()); - indexSearcher.setSimilarity(new BM25Similarity()); w.close(); final Sort groupSort = Sort.RELEVANCE;