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 2011/01/26 14:02:22 UTC

[jira] Resolved: (SOLR-1826) highlighting breaks when using WordDelimiterFilter and setting termOffsets=true

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

Robert Muir resolved SOLR-1826.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.1
         Assignee: Robert Muir

Hello, this same bug has been fixed in the Lucene highlighter: LUCENE-2874

I applied your test and it passes against current trunk... I also committed it.

Thanks very much for the work here!!!!


> highlighting breaks when using WordDelimiterFilter and setting termOffsets=true
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-1826
>                 URL: https://issues.apache.org/jira/browse/SOLR-1826
>             Project: Solr
>          Issue Type: Bug
>          Components: highlighter
>    Affects Versions: 1.4
>            Reporter: Stefan Oestreicher
>            Assignee: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-1826.patch, SOLR-1826.patch, SOLR-1826.txt, SOLR-1826.txt, SOLR-1826.txt
>
>
> When using the WordDelimiterFilter and setting termOffsets to true the highlighting breaks in certain cases. This did not happen in the 1.3 release.
> For example, if I index the term "PowerShot.com" and search for {{pow*}} the highlighting snippet contains {{<em>Power</em><em>PowerShot.com</em>}}.
> I will attach a patch which adds tests to the highlighter unittest to demonstrate the issue.

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


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