mirror of https://github.com/apache/lucene.git
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:
parent
ae45ce2fb5
commit
214d4d1c92
|
@ -34,7 +34,6 @@ import org.apache.lucene.analysis.ngram.EdgeNGramTokenFilter;
|
||||||
import org.apache.lucene.analysis.ngram.Lucene43EdgeNGramTokenFilter;
|
import org.apache.lucene.analysis.ngram.Lucene43EdgeNGramTokenFilter;
|
||||||
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
|
||||||
import org.apache.lucene.analysis.tokenattributes.OffsetAttribute;
|
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.BinaryDocValuesField;
|
||||||
import org.apache.lucene.document.Document;
|
import org.apache.lucene.document.Document;
|
||||||
import org.apache.lucene.document.Field;
|
import org.apache.lucene.document.Field;
|
||||||
|
@ -211,7 +210,6 @@ public class AnalyzingInfixSuggester extends Lookup implements Closeable {
|
||||||
* codec to use. */
|
* codec to use. */
|
||||||
protected IndexWriterConfig getIndexWriterConfig(Analyzer indexAnalyzer, IndexWriterConfig.OpenMode openMode) {
|
protected IndexWriterConfig getIndexWriterConfig(Analyzer indexAnalyzer, IndexWriterConfig.OpenMode openMode) {
|
||||||
IndexWriterConfig iwc = new IndexWriterConfig(indexAnalyzer);
|
IndexWriterConfig iwc = new IndexWriterConfig(indexAnalyzer);
|
||||||
iwc.setCodec(new Lucene410Codec());
|
|
||||||
iwc.setOpenMode(openMode);
|
iwc.setOpenMode(openMode);
|
||||||
|
|
||||||
// This way all merged segments will be sorted at
|
// This way all merged segments will be sorted at
|
||||||
|
|
Loading…
Reference in New Issue