Searched defs:posIncr (Results 1 - 3 of 3) sorted by relevance

/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/shingle/
H A DTestShingleMatrixFilter.java417 private Token tokenFactory(String text, int posIncr, int startOffset, int endOffset) { argument
420 token.setPositionIncrement(posIncr);
425 private Token tokenFactory(String text, int posIncr) { argument
426 return tokenFactory(text, posIncr, 1f, 0, 0);
429 private Token tokenFactory(String text, int posIncr, float weight, int startOffset, int endOffset) { argument
432 token.setPositionIncrement(posIncr);
437 private Token tokenFactory(String text, int posIncr, float weight, int startOffset, int endOffset, ShingleMatrixFilter.TokenPositioner positioner) { argument
440 token.setPositionIncrement(posIncr);
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/synonym/
H A DSynonymFilter.java161 int posIncr = 1; field in class:SynonymFilter.PendingOutputs
171 posIncr = 1;
178 posIncr = 0;
477 assert futureOutputs[outputUpto].posIncr == 1: "outputUpto=" + outputUpto + " vs nextWrite=" + nextWrite;
538 outputs.posIncr = 0;
549 final int posIncr = outputs.posIncr;
559 posIncrAtt.setPositionIncrement(posIncr);
582 final int posIncr = outputs.posIncr;
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/
H A DTestQPHelper.java1226 private final PositionIncrementAttribute posIncr = addAttribute(PositionIncrementAttribute.class); field in class:TestQPHelper.CannedTokenizer
1240 posIncr.setPositionIncrement(1);
1243 posIncr.setPositionIncrement(1);
1246 posIncr.setPositionIncrement(0);
1249 posIncr.setPositionIncrement(0);

Completed in 60 milliseconds