You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2008/07/27 14:36:31 UTC
[jira] Commented: (SOLR-664) Highlighter (maybe phraseHighlighter)
is highlighting non-highlight fields in query
[ https://issues.apache.org/jira/browse/SOLR-664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617282#action_12617282 ]
Koji Sekiguchi commented on SOLR-664:
-------------------------------------
bq. Highlighter should only return fragments matched by the field denoted in the highlight.
try hl.requireFieldMatch parameter.
> Highlighter (maybe phraseHighlighter) is highlighting non-highlight fields in query
> -----------------------------------------------------------------------------------
>
> Key: SOLR-664
> URL: https://issues.apache.org/jira/browse/SOLR-664
> Project: Solr
> Issue Type: Bug
> Components: highlighter
> Affects Versions: 1.3
> Reporter: Brian Whitman
> Fix For: 1.3
>
>
> Query: q=+content:"a b c" +type:web&hl.simple.pre=<span>&hl.simple.post=</span>&highlight=true&hl.fl=content
> Returns docs like:
> <span>a</span> <span>b</span> <span>c</span> <span>web</span>
> Highlighter should only return fragments matched by the field denoted in the highlight.
> Happens whether or not usePhraseHighlighter=true or not. (SOLR-553)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.