mirror of https://github.com/apache/lucene.git
LUCENE-5042: Reset the CharBuffer in TokenStream.reset().
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492257 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e021451d6c
commit
8334a8745b
|
@ -235,5 +235,6 @@ public class NGramTokenizer extends Tokenizer {
|
|||
offset = 0;
|
||||
gramSize = minGram;
|
||||
exhausted = false;
|
||||
charBuffer.reset();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue