You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2017/01/03 19:09:49 UTC

[Solr Wiki] Update of "SolrPlugins" by ShawnHeisey

Dear Wiki user,

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

The "SolrPlugins" page has been changed by ShawnHeisey:
https://wiki.apache.org/solr/SolrPlugins?action=diff&rev1=45&rev2=46

Comment:
Added info about sharedLib and the solr home lib directory.

  = Solr Plugins =
- Solr allows you to load custom code to perform a variety of tasks within Solr -- from custom Request Handlers to process your searches, to custom Analyzers and Token Filters for your text field, even custom Field Types. 
+ Solr allows you to load custom code to perform a variety of tasks within Solr -- from custom Request Handlers to process your searches, to custom Analyzers and Token Filters for your text field, even custom Field Types.
  
  <<TableOfContents>>
  
  = How to Load Plugins =
  Plugin code can be loaded into Solr by putting your classes into a JAR file, and then configuring Solr to know how to find them.
  
- If you want to use multiple !SolrCores, and have a plugin available to all of them, you can place your JAR files in a directory specified using the "sharedLib" attribute in your [[CoreAdmin#Configuration|solr.xml]] file prior to starting your servlet container.
+ If you want to use multiple !SolrCores, and have a plugin available to all of them, you can place your JAR files in a directory specified using the "sharedLib" attribute in your [[CoreAdmin#Configuration|solr.xml]] file prior to starting your servlet container.  In version 4.3.0 and earlier, you can set the sharedLib attribute to "lib" to load from $SOLR_HOME/lib ... but in 4.3.1 and later, if you want to use $SOLR_HOME/lib, you must NOT configure sharedLib.  The lib directory in the solr home is automatically loaded in newer versions.
  
  For loading plugins in individual !SolrCores, you have two options: