LUCENE-5969: remove unnecessary code

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626753 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2014-09-22 12:31:51 +00:00
parent ae45ce2fb5
commit 214d4d1c92
1 changed files with 0 additions and 2 deletions

View File

@ -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