remove bogus setting in test (see explanation on the mail list: this test cares about how many tokens it indexes because it expects there to be exactly 1 term

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2014-03-27 21:13:48 +00:00
parent 580ef3bb4e
commit e01f41cc16
1 changed files with 0 additions and 1 deletions

View File

@ -76,7 +76,6 @@ public class TestNorms extends LuceneTestCase {
public void testCustomEncoder() throws Exception {
Directory dir = newDirectory();
MockAnalyzer analyzer = new MockAnalyzer(random());
analyzer.setMaxTokenLength(TestUtil.nextInt(random(), 1, IndexWriter.MAX_TERM_LENGTH));
IndexWriterConfig config = newIndexWriterConfig(TEST_VERSION_CURRENT, analyzer);
config.setSimilarity(new CustomNormEncodingSimilarity());