lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (SOLR-937) Highlighting problem related to stemming
Date Sat, 30 Nov 2013 14:12:42 GMT

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

Erick Erickson reopened SOLR-937:
---------------------------------


> Highlighting problem related to stemming
> ----------------------------------------
>
>                 Key: SOLR-937
>                 URL: https://issues.apache.org/jira/browse/SOLR-937
>             Project: Solr
>          Issue Type: Bug
>          Components: highlighter
>    Affects Versions: 1.3
>            Reporter: David Bowen
>
> Using the example data (as in "ant run-example") from the latest dev version, add the
words "electronics" and "connector" to the features field of the first doc in ipod_other.xml.
 Now the following query:
> http://localhost:8983/solr/select/?q=electronics&hl=true&hl.fl=features+cat
> will show "electronics" highlighted in the features field but not in the cat field. 
If you search instead for "connector", it is highlighted in both.
> This seems like a bug to me.  A possible but not entirely satisfactory work-around would
be to have the cat field copied into another field which is stemmed, and use that other field
for highlighting (assuming the search is on the default search field, and not on cat).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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


Mime
View raw message