You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Debray (JIRA)" <ji...@apache.org> on 2014/03/10 11:22:42 UTC

[jira] [Updated] (SOLR-5127) Allow multiple wildcards in hl.fl

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

Daniel Debray updated SOLR-5127:
--------------------------------

    Attachment: highlight-wildcards.patch

I have implemented this issue. Wildcard fields that have been supplied using multiple hl_fl params or one single param (comma or whitespace seperated list on fields) can now be resolved to the requested fields.
I extended one unit test to cover this case.

Could someone have a look at this patch and apply it to the 4.8 and/or 5.0 branch?


> Allow multiple wildcards in hl.fl
> ---------------------------------
>
>                 Key: SOLR-5127
>                 URL: https://issues.apache.org/jira/browse/SOLR-5127
>             Project: Solr
>          Issue Type: New Feature
>          Components: highlighter
>    Affects Versions: 3.6.1, 4.4
>            Reporter: Sven-S. Porst
>         Attachments: highlight-wildcards.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at commas/spaces into components. As a consequence settings like hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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