lucene-dev mailing list archives

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

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

Hoss Man resolved SOLR-4724.
----------------------------

    Resolution: Not A Problem

This is exactly what "hl.requireFieldMatch=false|true" does.  Compare the results of these
queries using hte 4.2 sample data...

* http://localhost:8983/solr/collection1/select?q=name:apple+OR+features:memory&fl=id,name,features&hl=true&hl.fl=name,features&hl.requireFieldMatch=false
* http://localhost:8983/solr/collection1/select?q=name:apple+OR+features:memory&fl=id,name,features&hl=true&hl.fl=name,features&hl.requireFieldMatch=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