lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3896) CharTokenizer has bugs for large documents.
Date Wed, 21 Mar 2012 02:18:39 GMT

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

Robert Muir updated LUCENE-3896:
--------------------------------

    Attachment: LUCENE-3896.patch

Here's a patch, but we should not commit it.

I think this patch only shoves the bug under the rug: by reading fully it makes it less likely
to happen that there is some off-by-one here.
                
> CharTokenizer has bugs for large documents.
> -------------------------------------------
>
>                 Key: LUCENE-3896
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3896
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: modules/analysis
>            Reporter: Robert Muir
>            Priority: Blocker
>         Attachments: LUCENE-3896.patch
>
>
> Initially found by hudson from additional testing added in LUCENE-3894, but 
> currently not reproducable (see LUCENE-3895).
> But its easy to reproduce for a simple single-threaded case in TestDuelingAnalyzers.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message