The real fix of InvalidTokenOffsetsException

In the previous push i forgot to clear  variable "iterator"  that also contaned state of filter.
Now highlights feature works fine.
This commit is contained in:
phront 2017-09-22 16:35:42 +09:00 committed by GitHub
parent 98f281e748
commit 8f72a6ddab

View File

@ -82,5 +82,6 @@ public class MorphologyFilter extends TokenFilter {
public void reset() throws IOException {
super.reset();
state = null;
iterator = null;
}
}