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

**URL:** <https://discuss.elastic.co/t/how-to-install-the-icu-plugin-on-my-test-instance-of-es/13393>\
**Category:** Elasticsearch\
**Created:** [August 29, 2013, 1:48pm UTC](https://discuss.elastic.co/t/how-to-install-the-icu-plugin-on-my-test-instance-of-es/13393 "2013-08-29T13:48:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dantuff](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@dantuff](https://discuss.elastic.co/u/dantuff)\
**Post date:** [August 29, 2013, 1:48pm UTC](https://discuss.elastic.co/t/how-to-install-the-icu-plugin-on-my-test-instance-of-es/13393/1 "2013-08-29T13:48:16Z")

</div>

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 29, 2013, 2:14pm UTC](https://discuss.elastic.co/t/how-to-install-the-icu-plugin-on-my-test-instance-of-es/13393/2 "2013-08-29T14:14:52Z")

</div>

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

Le 29 août 2013 à 15:48, dan [dan.tuffery@gmail.com](mailto: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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dantuff](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@dantuff](https://discuss.elastic.co/u/dantuff)\
**Post date:** [August 29, 2013, 8:22pm UTC](https://discuss.elastic.co/t/how-to-install-the-icu-plugin-on-my-test-instance-of-es/13393/3 "2013-08-29T20:22:31Z")

</div>

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 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 29 août 2013 à 15:48, dan \<[dan.t...@gmail.com](mailto: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](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:18am UTC](https://discuss.elastic.co/t/how-to-install-the-icu-plugin-on-my-test-instance-of-es/13393/4 "2017-07-06T02:18:55Z")

</div>


