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:
parent
98f281e748
commit
8f72a6ddab
@ -82,5 +82,6 @@ public class MorphologyFilter extends TokenFilter {
|
|||||||
public void reset() throws IOException {
|
public void reset() throws IOException {
|
||||||
super.reset();
|
super.reset();
|
||||||
state = null;
|
state = null;
|
||||||
|
iterator = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user