You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Abhishek Agarwal <ab...@indiamart.com> on 2018/09/07 10:02:13 UTC
regarding 'sharedlib' in solr
Hi,
I want to share a folder containing text files in solr among different
cores so if the folder is updated ,so it would reflect in all the cores
having path specified but the problem I am facing is that , i am using
sharedlib in solr.xml and specifying the default path there.And also I am
updating schema.xml of my core but when I am loading core ,it is giving
error 'unsafe loading' .and not getting reload. Please help me in this.
--
Thanks,
Abhishek Agarwal
Re: regarding 'sharedlib' in solr
Posted by Vincenzo D'Amore <v....@gmail.com>.
Usually sharedlib is a path to a directory that contains .jar files, then
added to the Solr classpath.
For example I've used sharedlib to deploy a jar where is a the
implementation of a custom plugin for Solr that extends
ExtendedDismaxQParserPlugin.
On Fri, Sep 7, 2018 at 12:57 PM Andrea Gazzarini <a....@sease.io>
wrote:
> Hi, please expand a bit. Specifically:
>
> * what are those text files? Configuration files? You want something
> like a central point where to manage things like stopwords, synonyms?
> * I don't think the shareLib folder has been created for this usage.
> However, please post the complete message you're receiving, together
> with the stacktrace, if available.
>
> Andrea
>
> On 07/09/18 12:02, Abhishek Agarwal wrote:
> > Hi,
> >
> > I want to share a folder containing text files in solr among different
> > cores so if the folder is updated ,so it would reflect in all the cores
> > having path specified but the problem I am facing is that , i am using
> > sharedlib in solr.xml and specifying the default path there.And also I am
> > updating schema.xml of my core but when I am loading core ,it is giving
> > error 'unsafe loading' .and not getting reload. Please help me in this.
> >
>
>
--
Vincenzo D'Amore
Re: regarding 'sharedlib' in solr
Posted by Andrea Gazzarini <a....@sease.io>.
Hi, please expand a bit. Specifically:
* what are those text files? Configuration files? You want something
like a central point where to manage things like stopwords, synonyms?
* I don't think the shareLib folder has been created for this usage.
However, please post the complete message you're receiving, together
with the stacktrace, if available.
Andrea
On 07/09/18 12:02, Abhishek Agarwal wrote:
> Hi,
>
> I want to share a folder containing text files in solr among different
> cores so if the folder is updated ,so it would reflect in all the cores
> having path specified but the problem I am facing is that , i am using
> sharedlib in solr.xml and specifying the default path there.And also I am
> updating schema.xml of my core but when I am loading core ,it is giving
> error 'unsafe loading' .and not getting reload. Please help me in this.
>