You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/01/29 21:29:02 UTC

[Solr Wiki] Update of "SolrConfigXml" by GrantIngersoll

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrConfigXml" page has been changed by GrantIngersoll.
The comment on this change is: add section on customizing the highlighter.
http://wiki.apache.org/solr/SolrConfigXml?action=diff&rev1=34&rev2=35

--------------------------------------------------

     </formatter>
    </highlighting>
  }}}
+ 
+ === Providing a Custom Highlighter ===
+ 
+ <!> [[Solr1.3]]
+ 
+ Since Solr 1.3, applications can provide their own highlighting code, thanks to [https://issues.apache.org/jira/browse/SOLR-386|SOLR-386].  To take advantage of this, configure the !HighlighterComponent as above, but, in the {{{<highlighting}}} declaration, pass in fully qualified Java class name, as in  class="com.me.MyHighlighter".  The implementing class must extend the !SolrHighlighter class.
+ 
+ 
  == The Admin/GUI Section ==
  This section handles the administration web page.