How to install the ICU plugin on my test instance of ES?

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@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 29 août 2013 à 15:48, dan dan.tuffery@gmail.com a écrit :

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@googlegroups.com.
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@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Yes, that worked. Thanks David.

On Thursday, August 29, 2013 3:14:52 PM UTC+1, David Pilato wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 29 août 2013 à 15:48, dan <dan.t...@gmail.com <javascript:>> a écrit :

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 elasticsearc...@googlegroups.com <javascript:>.
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@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.