lucene-dev mailing list archives

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


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message