Thanks, That works! On Tuesday, February 24, 2015 at 1:39:04 PM UTC-8, David Pilato wrote: > > 1st the jar is not enough. There are other dependencies. > That's why I said that you should just add the library to your maven > project. > Much easier in my opinion then trying to deal with paths. > > That said, under /home/kumar/Downloads you should create a analysis-icu > dir and put in it all JARS available within the plugin zip file. > > David > > Le 24 févr. 2015 à 22:25, Kumar S <[email protected] <javascript:>> a > écrit : > > Hi Mark, David, > Thanks for your response. > > I tried the following > > Settings.Builder settings = ImmutableSettings.builder() > .put("path.data", "build/private") > .put("index.store.type", "memory") > .put("index.number_of_replicas", 0) > .put("path.plugins", "/home/kumar/Downloads/"); //This > path contains the JAR file for elasticsearch-analysis-icu > > NodeBuilder.nodeBuilder().local(true).settings(settings).node(); > > But to no avail...When i tried to use icu_collation in my filter, it just > throws an exception stating "filter not found" > > Custom Analyzer [ducet_sort] failed to find filter under name > [icu_collation]] > > Thanks, > Kumar Subramanian. > > On Tuesday, February 24, 2015 at 12:10:04 PM UTC-8, Mark Walkom wrote: >> >> You just need to set path.plugins. You can do this via the config file or >> run ES from the CLI with -Des.path.plugins=$path >> >> On 25 February 2015 at 06:04, Kumar S <[email protected]> wrote: >> >>> Hi, >>> How can i make ES load plugins from other than ES_HOME/plugins. Is there >>> a programmatic way of doing this. My test infrastructure does not allow me >>> to use Maven/yml files. >>> >>> What i have tried so far. >>> >>> 1) Tried to set path.plugins, plugin.types, plugins. + >>> PluginsService.LOAD_PLUGIN_FROM_CLASSPATH, true, "plugins." + >>> PluginsService.ES_PLUGIN_PROPERTIES_FILE_KEY, >>> "file:/home/kumarsub/Downloads/elasticsearch-analysis-icu-2.4.1.jar" >>> >>> I have been trying different combinations of the above and to no avail. >>> >>> I am sure there must be a way, it's just that i don't know :-) >>> >>> Your help is very much appreciated. >>> >>> Thanks, >>> Kumar Subramanian. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "elasticsearch" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elasticsearch/280d356b-acc7-405c-8883-e37cdb4b43db%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/elasticsearch/280d356b-acc7-405c-8883-e37cdb4b43db%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/710876d4-fff6-4553-a30b-4f2b96dc504f%40googlegroups.com > > <https://groups.google.com/d/msgid/elasticsearch/710876d4-fff6-4553-a30b-4f2b96dc504f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > >
-- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6fb8536f-ba68-40db-b4e1-293265b696e7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
