lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Oestreicher (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-1826) highlighting breaks when using WordDelimiterFilter and setting termOffsets=true
Date Tue, 16 Mar 2010 14:21:27 GMT
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
         Attachments: 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.


Mime
View raw message