Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
trunk, 4.7
-
None
-
New, Patch Available
Description
The ASCIIFoldingFilter seems to make the bold assumption that any tokens that contain a char outside the ASCII range will be folded.
The problem is that when preserve original is true we capture and restore the state even if the token remains unmodified.
This causes term frequencies to double for such words and probably extra space used when positions/offsets are stored in the postings.