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.
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
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.
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
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.
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
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 <krsku...@gmail.com <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.
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
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.
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 krsku...@gmail.com 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.
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
One more thing,
I cannot add the files as dependency explicitly as my Test infrastructure
does not allow that. What i can do is to add the files to a lib directory
in my project and when building (custom build scripts by my company) i can
specify it to copy it over to a particular build directory. Then i would
like ES to load it from that directory. (That's why i asked the question)
On Tuesday, February 24, 2015 at 1:25:44 PM UTC-8, Kumar S wrote:
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
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.
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
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 <krsku...@gmail.com <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
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.
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
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.