lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: using custom analyzer on SolrCloud
Date Mon, 04 Apr 2016 03:03:52 GMT
On 4/2/2016 9:04 PM, Rose, Stuart J wrote:
> I am trying to setup on my dev workstation a small SolrCloud in order to assess the faceting
capability in Solr 5.5 and I have several questions.
> First some context:
> I need to be able to add a field that uses a custom analyzer.
> In a perfect world I would be able to just drop the 'customanalyzer.jar' somewhere in
the solr folder and trigger zookeeper to propagate that to the various cores. As I have not
seen any mention of how to do that in the ref guide or online I am assuming I really do need
to use the blob store thingy which is unfortunate.

On every server, create a "lib" directory in the Solr home.  Where this
lives will depend on exactly how you installed Solr and how you're
starting it.  Normally your core instanceDirs will be in the Solr home.

Copy your jar into that lib directory.  It will be loaded once when Solr
starts, and will be available to every core on that machine.  No "lib"
config elements are necessary, and trying to load jars from this
directory will probably break those jars, because then they would be
loaded twice.

Alternately you could use the blob store, but I have no idea how to do
it, or which version of Solr includes that feature.


View raw message