Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread VIGNESH S
Hi Uwe, Thanks for your detailed explanation. It is like based on the Lucene Version(like 4.3.1 or 4.2.1),it loads the corresponding codec classes for the version. I think instead of loading services from META-INF,/Services ,I can directly return the needed codec for the Lucene Version in the l

RE: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread Uwe Schindler
Hi Vignesh, Lucene 4 supports now so called "Codecs" which are implementation classes for custom index encodings. E.g. you can exchange the default postings list by a custom format. Those implementations are classes that extend an abstract base class/interface to implement this functionality. T

Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread Shai Erera
Semantics :). I was just curious cause I thought that got resolved after we removed the RMI dependency in Searchable. Shai On Sat, Jul 13, 2013 at 9:39 PM, Robert Muir wrote: > No, it means Android cannot run Lucene 4. We are just following the java > api specs. Android doesn't implement java

Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread Robert Muir
No, it means Android cannot run Lucene 4. We are just following the java api specs. Android doesn't implement java, its not java. On Sat, Jul 13, 2013 at 2:23 PM, Shai Erera wrote: > Hmm, does that mean that Lucene 4.0+ cannot run on Android? > > Shai > > > On Sat, Jul 13, 2013 at 6:51 PM, VIGNE

Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread Shai Erera
Hmm, does that mean that Lucene 4.0+ cannot run on Android? Shai On Sat, Jul 13, 2013 at 6:51 PM, VIGNESH S wrote: > Hi Robert, > > Thanks for your reply. > > If possible,can you please explain why this new class loading mechanism was > introduced in Lucene 4 > > Thanks and Regards > Vignesh >

Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread VIGNESH S
Hi Robert, Thanks for your reply. If possible,can you please explain why this new class loading mechanism was introduced in Lucene 4 Thanks and Regards Vignesh On Sat, Jul 13, 2013 at 6:56 PM, Robert Muir wrote: > Open a bug with android team... the problem is android isn't java (and > doesn

Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread Robert Muir
Open a bug with android team... the problem is android isn't java (and doesnt implement/follow the spec) On Sat, Jul 13, 2013 at 4:31 AM, VIGNESH S wrote: > Hi, > > I did not striped META-INF/services and it contains the files. > > Even when i combined with other jars,i manually appended those e

Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread VIGNESH S
Hi, I did not striped META-INF/services and it contains the files. Even when i combined with other jars,i manually appended those entries in Meta-inf/services.. The problem has some thing to do with the way android loads classes. any comments welcome. Thanks adnd Regards Vignesh On Sat, Jul

Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread Thomas Matthijs
On Sat, Jul 13, 2013 at 10:25 AM, VIGNESH S wrote: > Hi, > > I tried indexing in Desktop..It works fine. > The above error loading error comes only in android.. > Any comments.. Don't strip META-INF/services files out of the jars

Re: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread VIGNESH S
Hi, I tried indexing in Desktop..It works fine. The above error loading error comes only in android.. Any comments.. On Sat, Jul 13, 2013 at 12:39 PM, VIGNESH S wrote: > Hi, > > I am Trying to migrate to Lucene 4.3.1 > > I just want to do basic indexing.I added the Lucene Core Jar and iam >

A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist

2013-07-13 Thread VIGNESH S
Hi, I am Trying to migrate to Lucene 4.3.1 I just want to do basic indexing.I added the Lucene Core Jar and iam getting Getting Exception 07-01 15:11:13.763: E/AndroidRuntime(17123): Caused by: java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.Codec with name '