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-3642) EdgeNgrams creates invalid offsets
Date Mon, 12 Dec 2011 16:29:30 GMT

     [ 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.patch

updated patch with a test+fix for smartchinese, and with a test for CharTokenizer... it currently
fails with an off by one (incorrect startOffset) which is in turn jacking up the endOffsets
too. 
                
> 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.patch, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message