Re: Using icu_collation plugin in Unit Tests

2015-01-16 Thread joergpra...@gmail.com
You have to include transitive dependencies also, here Lucene ICU. Most IDEs do this by default. Jörg On Fri, Jan 16, 2015 at 9:33 PM, Kumar S wrote: > Hi Jorg, > Thanks! > > I get NoClassDefFound: > org/apache/lucene/analysis/icu/segmentation/icutokenizer > > Thanks, > Kumar > > -- You recei

Re: Using icu_collation plugin in Unit Tests

2015-01-16 Thread Kumar S
I am using ES 1.4.2 & ES-analysis-icu 2.4.1 On Friday, January 16, 2015 at 12:33:00 PM UTC-8, Kumar S wrote: > > Hi Jorg, > Thanks! > > I get NoClassDefFound: > org/apache/lucene/analysis/icu/segmentation/icutokenizer > > Thanks, > Kumar > > On Friday, January 16, 2015 at 12:00:45 AM UTC-8, Jörg

Re: Using icu_collation plugin in Unit Tests

2015-01-16 Thread Kumar S
Hi Jorg, Thanks! I get NoClassDefFound: org/apache/lucene/analysis/icu/segmentation/icutokenizer Thanks, Kumar On Friday, January 16, 2015 at 12:00:45 AM UTC-8, Jörg Prante wrote: > > You don't need to manually download the jar file if you use Maven. Add the > jar as dependency to your pom.xml

Re: Using icu_collation plugin in Unit Tests

2015-01-16 Thread Kumar S
Hi Jorg, Thanks! I added ES-analysis-icu 2.4.1 as a dependency. I get NoClassDefFound org.elasticsearch.common.inject.CreationException: Guice creation errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/apache/lucene/analysis/icu/segmentation/ICUTokenizer at org.elasti

Re: Using icu_collation plugin in Unit Tests

2015-01-16 Thread joergpra...@gmail.com
You don't need to manually download the jar file if you use Maven. Add the jar as dependency to your pom.xml org.elasticsearch elasticsearch-analysis-icu 2.4.1 Jörg On Thu, Jan 15, 2015 at 10:47 PM, Kumar S wrote: > Thanks David! > > Sorry for being a new one in the ES world. But where would

Re: Using icu_collation plugin in Unit Tests

2015-01-15 Thread Kumar S
Thanks David! Sorry for being a new one in the ES world. But where would i download the JAR file from and what calss should i be using for the icu_collation? Thank you very much, Kumar Subramanian, On Thursday, January 15, 2015 at 12:52:12 PM UTC-8, David Pilato wrote: > > You most likely just

Re: Using icu_collation plugin in Unit Tests

2015-01-15 Thread David Pilato
You most likely just need to add it as a dependency. Which is easy if you are using maven. David > Le 15 janv. 2015 à 21:03, Kumar S a écrit : > > Hi, > I am new to ES. I am using NodeBuilder in my unit test to run a local > instance of ES. I would like to use the icu_collation plugin. How ca

Using icu_collation plugin in Unit Tests

2015-01-15 Thread Kumar S
Hi, I am new to ES. I am using NodeBuilder in my unit test to run a local instance of ES. I would like to use the icu_collation plugin. How can i install and run the plugin form within this local instance. Is there API that i should use? if not, what are the different ways i can do this? Thank