MockCharFilter offset correction is wrong
-----------------------------------------
Key: LUCENE-3741
URL: https://issues.apache.org/jira/browse/LUCENE-3741
Project: Lucene - Java
Issue Type: Bug
Components: general/test
Affects Versions: 3.6, 4.0
Reporter: Robert Muir
Attachments: LUCENE-3741.patch
This is a fake charfilter used in basetokenstreamtestcase.
it occasionally doubles some characters, and corrects offsets.
its used to find bugs where analysis components would fail otherwise with
charfilters,
but its correctOffset is actually wrong (harmless to any tests today, but still
wrong).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]