mirror of https://github.com/apache/lucene.git
remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368616 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
275eff26a6
commit
7fd7610b7a
|
@ -1096,13 +1096,6 @@ public class TestFSTs extends LuceneTestCase {
|
|||
// file, up until a time limit
|
||||
public void testRealTerms() throws Exception {
|
||||
|
||||
// TODO: is this necessary? we use the annotation...
|
||||
final String defaultFormat = _TestUtil.getPostingsFormat("abracadabra");
|
||||
if (defaultFormat.equals("SimpleText") || defaultFormat.equals("Memory")) {
|
||||
// no
|
||||
Codec.setDefault(_TestUtil.alwaysPostingsFormat(new Lucene40PostingsFormat()));
|
||||
}
|
||||
|
||||
final LineFileDocs docs = new LineFileDocs(random(), true);
|
||||
final int RUN_TIME_MSEC = atLeast(500);
|
||||
final IndexWriterConfig conf = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random())).setMaxBufferedDocs(-1).setRAMBufferSizeMB(64);
|
||||
|
|
Loading…
Reference in New Issue