You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/10/12 06:31:43 UTC

[jira] [Resolved] (LUCENE-5278) MockTokenizer throws away the character right after a token even if it is a valid start to a new token

     [ https://issues.apache.org/jira/browse/LUCENE-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-5278.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.6

Thanks again Nik!

> MockTokenizer throws away the character right after a token even if it is a valid start to a new token
> ------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5278
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5278
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Nik Everett
>            Assignee: Robert Muir
>            Priority: Trivial
>             Fix For: 4.6, 5.0
>
>         Attachments: LUCENE-5278.patch, LUCENE-5278.patch, LUCENE-5278.patch
>
>
> MockTokenizer throws away the character right after a token even if it is a valid start to a new token.  You won't see this unless you build a tokenizer that can recognize every character like with new RegExp(".") or RegExp("...").
> Changing this behaviour seems to break a number of tests.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org