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 "Brian Whitman (JIRA)" <ji...@apache.org> on 2008/07/27 13:46:31 UTC

[jira] Created: (SOLR-664) Highlighter (maybe phraseHighlighter) is highlighting non-highlight fields in query

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.


[jira] Commented: (SOLR-664) Highlighter (maybe phraseHighlighter) is highlighting non-highlight fields in query

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (SOLR-664) Highlighter (maybe phraseHighlighter) is highlighting non-highlight fields in query

Posted by "Brian Whitman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Whitman resolved SOLR-664.
--------------------------------

    Resolution: Invalid

> 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.


[jira] Commented: (SOLR-664) Highlighter (maybe phraseHighlighter) is highlighting non-highlight fields in query

Posted by "Brian Whitman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617405#action_12617405 ] 

Brian Whitman commented on SOLR-664:
------------------------------------

Ah, missed that one. Any reason this is not on by default? Does it alter results in any meaningful way?


> 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.