lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karol Sikora (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4724) Highlighting per field selected with hl.q
Date Tue, 16 Apr 2013 23:17:15 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633542#comment-13633542
] 

Karol Sikora commented on SOLR-4724:
------------------------------------

Thanks, that works. But I would discuss this behaviour - when I provide hl.q maybe hl.requireFieldMatch
should be assumed to be true?
                
> Highlighting per field selected with hl.q
> -----------------------------------------
>
>                 Key: SOLR-4724
>                 URL: https://issues.apache.org/jira/browse/SOLR-4724
>             Project: Solr
>          Issue Type: New Feature
>          Components: highlighter
>    Affects Versions: 4.2
>            Reporter: Karol Sikora
>
> It would be nice to have when highlighter will honor fields provided in hl.q.
> For example:
> hl.q: title:Lorem ipsum OR creator:Some creator
> hl.fl:title,creator
> I recive both phrases ("Lorem ipsum" and "Some creator") highlighted in both fields,
so if phrase "Lorem ipsum" exists in creator field it is also highlighted. I expect to have
highlighted only "Lorem ipsum" in title field and "Some author" in creator field. I'm not
sure if it's desired behavior of solr highligter or bug, please confirm.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message