Solr Plugins

/!\ :TODO: /!\ write short summary of why people might want to load custom code, and the loose definition of a "Solr Plugin"

TableOfContents

How to Load Plugins

At the moment, loading custom code into Solr is only easy in Resin. the mechanism for doing so can be found on the SolrResin configuration page.

A more general purpose mechanism is currently being investigated, but in the meantime the only method that works consistently on any servlet container is to:

  1. unpack the solr.war
  2. add a jar containing your custom classes to the WEB-INF/lib directory

  3. repack your new, customized, solr.war and use it.

List of Classes that are 'Pluggable'

/!\ :TODO: /!\ for each class, link to javadocs and show example of where/how to configure usage

SolrRequestHandler

QueryResponseWriter

Similarity

Analyzer

TokenizerFactory

TokenFilterFactory

CacheRegenerator

FieldType

SolrCache

SolrEventListener

UpdateHandler