Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.4, 4.0-ALPHA
-
None
-
Patch Available
Description
The CompoundWordTokenFilterBase.setToken method will call clearAttributes() and then will reset only the default Token attributes (term, position, flags, etc) resulting in any custom attributes losing their value. Commenting out clearAttributes() seems to do the trick, but will fail the TestCompoundWordTokenFilter tests..