[
https://issues.apache.org/jira/browse/LUCENE-3642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-3642:
--------------------------------
Attachment: LUCENE-3642_ngrams.patch
Here's a patch fixing the (edge)ngrams filters, using the same logic as wdf
(its well-defined, i think its the only thing we can do here).
Still need to fix the chartokenizer bug, and also add some tests for any other
"filters that are actually tokenizers" we might have.
> EdgeNgrams creates invalid offsets
> ----------------------------------
>
> Key: LUCENE-3642
> URL: https://issues.apache.org/jira/browse/LUCENE-3642
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 3.5
> Reporter: Robert Muir
> Attachments: 6B2Uh.png, LUCENE-3642_ngrams.patch,
> LUCENE-3642_test.patch
>
>
> A user reported this because it was causing his highlighting to throw an
> error.
--
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]