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

Markus Jelsma commented on SOLR-3705:
-------------------------------------

I took me a while to get back to this. The problem is that we have over 20 full 
text fields per document of which only one contains the text, they're all 
language specific fields like content_en, content_de etc. We use 
hl.fl=content_* to get highlighted snippets for whatever field is matched by 
the main query. But a document can also be matched on a non-content field so 
the highlighter won't find a snippet for the content field. We though that if 
we could glob the alternate field as well, it would be a simple mechanism to 
get a snippet from an alternate field that is any of the content_* fields.
                
> hl.alternateField does not support glob
> ---------------------------------------
>
>                 Key: SOLR-3705
>                 URL: https://issues.apache.org/jira/browse/SOLR-3705
>             Project: Solr
>          Issue Type: Improvement
>          Components: highlighter
>    Affects Versions: 4.0-ALPHA
>            Reporter: Markus Jelsma
>            Priority: Minor
>             Fix For: 5.0
>
>
> Unlike hl.fl, the hl.alternateField does not support * to match field globs.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to