Searched defs:positionIncrement (Results 1 - 8 of 8) sorted by relevance
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/ |
H A D | PositionIncrementAttribute.java | 22 /** The positionIncrement determines the position of this token 51 * @param positionIncrement the distance from the prior term 53 public void setPositionIncrement(int positionIncrement); argument
|
H A D | PositionIncrementAttributeImpl.java | 25 /** The positionIncrement determines the position of this token 50 private int positionIncrement = 1; field in class:PositionIncrementAttributeImpl 54 * @param positionIncrement the distance from the prior term 56 public void setPositionIncrement(int positionIncrement) { argument 57 if (positionIncrement < 0) { 59 ("Increment must be zero or greater: got " + positionIncrement); 61 this.positionIncrement = positionIncrement; 68 return positionIncrement; 73 this.positionIncrement [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
H A D | PositionFilterFactory.java | 27 * Set the positionIncrement of all tokens to the "positionIncrement", except the first return token which retains its 28 * original positionIncrement value. The default positionIncrement value is zero. 33 * <filter class="solr.PositionFilterFactory" positionIncrement="0"/> 42 private int positionIncrement; field in class:PositionFilterFactory 47 positionIncrement = getInt("positionIncrement", 0); 51 return new PositionFilter(input, positionIncrement);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/position/ |
H A D | PositionFilter.java | 26 /** Set the positionIncrement of all tokens to the "positionIncrement", 27 * except the first return token which retains its original positionIncrement value. 28 * The default positionIncrement value is zero. 33 private final int positionIncrement; field in class:PositionFilter 35 /** The first token must have non-zero positionIncrement **/ 55 * @param positionIncrement position increment to assign to all but the first 58 public PositionFilter(final TokenStream input, final int positionIncrement) { argument 60 this.positionIncrement = positionIncrement; [all...] |
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/ |
H A D | FieldQueryNode.java | 55 protected int positionIncrement; field in class:FieldQueryNode 146 return this.positionIncrement; 150 this.positionIncrement = pi; 177 fqn.positionIncrement = this.positionIncrement;
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/shingle/ |
H A D | TestShingleMatrixFilter.java | 455 private void assertNext(TokenStream ts, String text, int positionIncrement, float boost, int startOffset, int endOffset) throws IOException { argument 463 assertEquals(positionIncrement, posIncrAtt.getPositionIncrement());
|
H A D | ShingleFilterTest.java | 1130 (String term, int start, int offset, int positionIncrement) 1134 token.setPositionIncrement(positionIncrement); 1129 createToken(String term, int start, int offset, int positionIncrement) argument
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | Token.java | 131 private int positionIncrement = 1; field in class:Token 257 * @param positionIncrement the distance from the prior term 260 public void setPositionIncrement(int positionIncrement) { argument 261 if (positionIncrement < 0) 263 ("Increment must be zero or greater: " + positionIncrement); 264 this.positionIncrement = positionIncrement; 271 return positionIncrement; 356 /** Resets the term text, payload, flags, and positionIncrement, 363 positionIncrement [all...] |
Completed in 79 milliseconds