LUCENE-2899: OpenNLPPOSFilter: fix reset() to fully reset

This commit is contained in:
Steve Rowe 2017-12-18 19:03:08 -05:00
parent 8275952337
commit f8fb139656
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ public final class OpenNLPPOSFilter extends TokenFilter {
public void reset() throws IOException {
super.reset();
moreTokensAvailable = true;
clear();
}
private void clear() {