Re: SPI class of type org.apache.lucene.codecs.Codec error

2013-08-21 Thread Adriano Ferreira
42Codec$2.class. > Is that normal as the error we got says "A SPI class of type > org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist"? The > issue does not occurs as far as we are within Eclipse. But when we test the > same client outside the IDE we got

Re: SPI class of type org.apache.lucene.codecs.Codec error

2013-08-21 Thread Adriano Ferreira
I had this same problem using a library that used a new codec for lucene. In creating the jar maven was replacing the META-INF. I solved the problem with the following configuration in pom.xml META-INF/services/org.apache.lucene.codecs.Codec

Product comparation

2013-08-21 Thread Adriano Ferreira
Hello. I am looking for a way to compare web pages of products using various fields in the query. Anyone know how I should set up a query for this? 'm New to Lucene. I have to use MultiTermQuery? Adriano