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

David Smiley commented on SOLR-540:
-----------------------------------

I've seen cases where I'd get an error because the previous index contained a 
field that is no longer in the current schema.  I've corrected this by Changing 
line 171 of SolrIndexSearcher to go from a simple lookup of the field to one 
that catches this exception like so:
{code}
      SchemaField field;
      try {
        field = schema.getField(fieldName);
      } catch (SolrException e) {
        log.fine("Skipping indexed field not found in schema e:"+e);//no reason 
to log stacktrace
        continue;
      }
{code}

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

Reply via email to