Some analyzers in contrib provide setters for stopword / stem exclusion sets / hashtables etc. Those setters should be deprecated as they yield unexpected behaviour. The way they work is they set the reusable token stream instance to null in a thread local cache which only affects the tokenstream in the current thread. Analyzers itself should be immutable except of the threadlocal.
will attach a patch soon.
|Field||Original Value||New Value|
|Assignee||Simon Willnauer [ simonw ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Workflow||jira [ 12481698 ]||Default workflow, editable Closed status [ 12563228 ]|
|Workflow||Default workflow, editable Closed status [ 12563228 ]||jira [ 12584300 ]|
|Component/s||modules/analysis [ 12310230 ]|
|Component/s||contrib/analyzers [ 12312333 ]|