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] <javascript:>>
> 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] <javascript:>.
>> 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/710876d4-fff6-4553-a30b-4f2b96dc504f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.