Apache Lucene open-source search software
Fix incorrect attribute comment in StandardTokenizer (#15121)
Luis Negrinec369d070b23
diff --git a/lucene/core/src/java/org/apache/lucene/analysis/standard/StandardTokenizer.java b/lucene/core/src/java/org/apache/lucene/analysis/standard/StandardTokenizer.javaindex 3885894b2cf..3c1a673d753 100644--- a/lucene/core/src/java/org/apache/lucene/analysis/standard/StandardTokenizer.java+++ b/lucene/core/src/java/org/apache/lucene/analysis/standard/StandardTokenizer.java@@ -135,8 +135,8 @@ public final class StandardTokenizer extends Tokenizer {this.scanner = new StandardTokenizerImpl(input);}- // this tokenizer generates three attributes:- // term offset, positionIncrement and type+ // this tokenizer generates four attributes:+ // term, offset, positionIncrement and typeprivate final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class);private final OffsetAttribute offsetAtt = addAttribute(OffsetAttribute.class);private final PositionIncrementAttribute posIncrAtt =