Discussion:
How to install the ICU plugin on my test instance of ES?
dan
2013-08-29 13:48:16 UTC
Permalink
I'm using the Spring Eleasticsearch project to start up a test instance of
ES which I run my tests against, I need to add the ICU plugin to the test
instance. I am using the icu_tokenizer in my settings file, at the moment
when I run the tests I'm getting the following error:

Caused by: java.lang.IllegalArgumentException: Custom Analyzer
[my_analyzer] failed to find tokenizer under name [icu_tokenizer]

Is there a way to install the plugin each time the tests are run?
--
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 elasticsearch+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
David Pilato
2013-08-29 14:14:52 UTC
Permalink
I think that you just have to add it as a dependency to your Project (pom.xml) at least with a test scope.

Does it help?



--
David ;-)
Caused by: java.lang.IllegalArgumentException: Custom Analyzer [my_analyzer] failed to find tokenizer under name [icu_tokenizer]
Is there a way to install the plugin each time the tests are run?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 elasticsearch+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
dan
2013-08-29 20:22:31 UTC
Permalink
Yes, that worked. Thanks David.
Post by David Pilato
I think that you just have to add it as a dependency to your Project
(pom.xml) at least with a test scope.
Does it help?
--
David ;-)
I'm using the Spring Eleasticsearch project to start up a test instance of
ES which I run my tests against, I need to add the ICU plugin to the test
instance. I am using the icu_tokenizer in my settings file, at the moment
Caused by: java.lang.IllegalArgumentException: Custom Analyzer
[my_analyzer] failed to find tokenizer under name [icu_tokenizer]
Is there a way to install the plugin each time the tests are run?
--
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
For more options, visit https://groups.google.com/groups/opt_out.
--
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 elasticsearch+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...