Searched refs:TOKEN_LEN (Results 1 - 2 of 2) sorted by relevance

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTest2BTerms.java49 private final static int TOKEN_LEN = 5; field in class:Test2BTerms.MyTokenStream
58 chars = charTerm.resizeBuffer(TOKEN_LEN);
59 charTerm.setLength(TOKEN_LEN);
68 _TestUtil.randomFixedLengthUnicodeString(random, chars, 0, TOKEN_LEN);
71 final String s = new String(chars, 0, TOKEN_LEN);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTest2BTerms.java49 private final static int TOKEN_LEN = 5; field in class:Test2BTerms.MyTokenStream
58 chars = charTerm.resizeBuffer(TOKEN_LEN);
59 charTerm.setLength(TOKEN_LEN);
68 _TestUtil.randomFixedLengthUnicodeString(random, chars, 0, TOKEN_LEN);
71 final String s = new String(chars, 0, TOKEN_LEN);

Completed in 12 milliseconds