[ 
https://issues.apache.org/jira/browse/SOLR-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750369#action_12750369
 ] 

Koji Sekiguchi commented on SOLR-1398:
--------------------------------------

Anders, thank you for testing the patch and reporting the result. Yes, I think 
the error is a separate issue. Can you show the procedure (schema.xml, indexed 
data and request parameters) to reproduce the error? I tried to index "G& 
uuml;nther G& uuml;nther is here" and search "Günther", but I could get a 
highlighted result successfully.

> PatternTokenizerFactory ignores offset corrections
> --------------------------------------------------
>
>                 Key: SOLR-1398
>                 URL: https://issues.apache.org/jira/browse/SOLR-1398
>             Project: Solr
>          Issue Type: Bug
>          Components: Analysis
>    Affects Versions: 1.4
>            Reporter: Anders Melchiorsen
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1398.patch
>
>
> I have an analyzer with a MappingCharFilterFactory followed by a 
> PatternTokenizerFactory. This causes wrong offsets, and thus wrong highlights.
> Replacing the tokenizer with WhitespaceTokenizerFactory gives correct 
> offsets, so I expect the problem to be with PatternTokenizerFactory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to