Dear all, Please do you have any suggestion regarding the below issue? best regards, Gayo Hi, Thank you both for the help. Here are the contents you asked. For the final Jar that we use with a third client application: The content of META-INF/services/org.apache.lucene.codecs.Codec is org.apache.lucene.codecs.lucene40.Lucene40Codec org.apache.lucene.codecs.lucene3x.Lucene3xCodec org.apache.lucene.codecs.lucene41.Lucene41Codec org.apache.lucene.codecs.lucene42.Lucene42Codec The content of META-INF/services/org.apache.lucene.codecs.PostingsFormat is org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat org.apache.lucene.codecs.lucene41.Lucene41PostingsFormat I do realize that there is no org.apache.lucene.codecs.lucene42.Lucene42PostingsFormat. Is that a possible reason for the issue? Please not that lucene is primarily used by a maven project on which depends our final project. The content of META-INF/services/org.apache.lucene.codecsbothPostingsFormat andCodec of that project are similar to those I listed above. The two POM are listed here: 1) http://lesimisped.free.fr/servo/pom1IMM.xml (it uses 3 lucene jar); 2) final: http://lesimisped.free.fr/servo/pom2Final.xml. In both POM we have changed the configuration of the transformer after a suggestion from this list. <transformers><transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> <resource> META-INF/services/org.apache.lucene.codecs.Codec </resource></transformer> I have also noticed that into the original lucene.core.jar, the /META-INF/services/o.p.l.c.PostingFormat content is org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat org.apache.lucene.codecs.lucene41.Lucene41PostingsFormat there is no org.apache.lucene.codecs.lucene42.Lucene42PostingsFormat and in the repository /org/apache/lucene/codecs/lucene42/ of the jar there is nothing similari to Lucene42PostingsXXX.class (http://lesimisped.free.fr/servo/lucene42.png) contrary to /org/apache/lucene/codecs/lucene41/ for instance (http://lesimisped.free.fr/servo/lucene40.png). If you need to see any additional file/resource/config please let me know. Best regards, Gayo Le 21/08/2013 20:09, Adriano Ferreira a
écrit :
--
Dr Gayo
Diallo ![]() ![]() ISPED, Université Bordeaux Segalen |
--------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org