[
https://issues.apache.org/jira/browse/SOLR-540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Kotthoff updated SOLR-540:
-------------------------------
Attachment: SOLR-540-highlight-all.patch
I've changed a couple of things and uploaded the new patch.
* The stored fields are no longer determined in SolrHighlighter for every
request, but in SolrIndexSearcher when creating a new object. The
implementation now simply queries the schema for all field names the index
reader knows about and checks for each whether it's stored. The collections of
field names and stored field names are exposed through getters. SolrHighlighter
simply matches against the items of the storedFieldNames collection.
* Added generic support for wildcards; in addition to "*" things like "foo_*"
also work now. Now for example the prototype of a dynamic field may be given as
field name to highlight on and all instances of that prototype will be
highlighted.
* Added a unit test to verify that highlighting with wildcard fields works as
expected.
> Add support for hl.fl=*
> -----------------------
>
> Key: SOLR-540
> URL: https://issues.apache.org/jira/browse/SOLR-540
> Project: Solr
> Issue Type: New Feature
> Components: highlighter
> Affects Versions: 1.3
> Environment: Tomcat 5.5
> Reporter: Lars Kotthoff
> Priority: Minor
> Attachments: SOLR-540-highlight-all.patch
>
>
> Adds support for the star value for the hl.fl parameter, i.e. highlighting
> will be done on all fields (static and dynamic). Particularly useful in
> conjunction with hl.requireFieldMatch=true, this way one can specify
> "generic" highlighting parameters independent of the query/searched fields.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.