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

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestPositionBasedTermVectorMapper.java26 protected int[][] thePositions; field in class:TestPositionBasedTermVectorMapper
34 thePositions = new int[tokens.length][];
40 thePositions[i] = new int[2 * i + 1];//give 'em all some positions
41 for (int j = 0; j < thePositions[i].length; j++)
43 thePositions[i][j] = numPositions++;
45 offsets[i] = new TermVectorOffsetInfo[thePositions[i].length];
50 thePositions[tokens.length - 1] = new int[1];
51 thePositions[tokens.length - 1][0] = 0;//put this at the same position as "here"
63 mapper.map(token, 1, null, thePositions[i]);
70 assertTrue("thePositions i
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestPositionBasedTermVectorMapper.java26 protected int[][] thePositions; field in class:TestPositionBasedTermVectorMapper
34 thePositions = new int[tokens.length][];
40 thePositions[i] = new int[2 * i + 1];//give 'em all some positions
41 for (int j = 0; j < thePositions[i].length; j++)
43 thePositions[i][j] = numPositions++;
45 offsets[i] = new TermVectorOffsetInfo[thePositions[i].length];
50 thePositions[tokens.length - 1] = new int[1];
51 thePositions[tokens.length - 1][0] = 0;//put this at the same position as "here"
63 mapper.map(token, 1, null, thePositions[i]);
70 assertTrue("thePositions i
[all...]

Completed in 12 milliseconds