Loading Solr Analyzer from RuntimeLib Blob

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Loading Solr Analyzer from RuntimeLib Blob

Steve Davids
Accidentally sent this on the java-users list instead of solr-users...


Hi,

I am attempting to migrate our deployment process over to using the
recently added "Blob Store API" which should simplify things a bit when it
comes to cloud infrastructures for us. Unfortunately, after loading the jar
in the .system collection and adding it to our runtimelib config overlay
analyzers from our schema doesn't appear to be aware of our custom code. Is
there a way to specify runtimeLib="true" on the schema or perhaps an
alternate method to make sure that jar is loaded on the classpath before
the schema is loaded?

Thanks for the help,

-Steve
Reply | Threaded
Open this post in threaded view
|

Re: Loading Solr Analyzer from RuntimeLib Blob

Shalin Shekhar Mangar
That is a current limitation of the blob store API. It can only be
used to load plugins in solrconfig.xml. It does not support loading
schema plugins such as analyzers, tokenizers. Can you open an issue?

On Fri, Sep 11, 2015 at 9:24 AM, Steve Davids <[hidden email]> wrote:

> Accidentally sent this on the java-users list instead of solr-users...
>
>
> Hi,
>
> I am attempting to migrate our deployment process over to using the
> recently added "Blob Store API" which should simplify things a bit when it
> comes to cloud infrastructures for us. Unfortunately, after loading the jar
> in the .system collection and adding it to our runtimelib config overlay
> analyzers from our schema doesn't appear to be aware of our custom code. Is
> there a way to specify runtimeLib="true" on the schema or perhaps an
> alternate method to make sure that jar is loaded on the classpath before
> the schema is loaded?
>
> Thanks for the help,
>
> -Steve



--
Regards,
Shalin Shekhar Mangar.