[ 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.patch Attaching new patch which uses instanceof instead of comparing the classes directly and defers the generation of the list of fields to highlight on until they're requested. I left the assignment of fields the index reader knows about in the constructor because this shouldn't be too expensive. It could easily be moved into the getter as well though. > 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, > SOLR-540-highlight-all.patch, SOLR-540-highlight-all.patch, > SOLR-540-highlight-all.patch, SOLR-540-highlight-all.patch, > SOLR-540-highlight-all.patch, SOLR-540.patch, SOLR-540.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.