From 214d4d1c92541f3aca0444bf0156cbfc6cd56cd8 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Mon, 22 Sep 2014 12:31:51 +0000 Subject: [PATCH] LUCENE-5969: remove unnecessary code git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626753 13f79535-47bb-0310-9956-ffa450edef68 --- .../search/suggest/analyzing/AnalyzingInfixSuggester.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java b/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java index dd0d89b24a9..9de7c2b9ac2 100644 --- a/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java +++ b/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java @@ -34,7 +34,6 @@ import org.apache.lucene.analysis.ngram.EdgeNGramTokenFilter; import org.apache.lucene.analysis.ngram.Lucene43EdgeNGramTokenFilter; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; import org.apache.lucene.analysis.tokenattributes.OffsetAttribute; -import org.apache.lucene.codecs.lucene410.Lucene410Codec; import org.apache.lucene.document.BinaryDocValuesField; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; @@ -211,7 +210,6 @@ public class AnalyzingInfixSuggester extends Lookup implements Closeable { * codec to use. */ protected IndexWriterConfig getIndexWriterConfig(Analyzer indexAnalyzer, IndexWriterConfig.OpenMode openMode) { IndexWriterConfig iwc = new IndexWriterConfig(indexAnalyzer); - iwc.setCodec(new Lucene410Codec()); iwc.setOpenMode(openMode); // This way all merged segments will be sorted at