Re: Document updates work as delete/add under the hood

2015-07-12 Thread chalitha udara Perera
Hi Erick, Thanks for the explanation. I am doing some experiments on off-line clustering on document features indexed in lucene and update few document fields in order provide different search experience. E.g. for text documents insert cluster ID for doc that document belongs to, for images create

RE: Classpath issue

2015-07-12 Thread Uwe Schindler
Hi, You have to use the official Lucene JAR file (e.g., as downloadable from Maven). If you constructed your own JAR file variant, it may miss important metadata in the META-INF/services folder of the JAR file. This also happens with some Uber-JAR producers (Maven Shade plugin, JarJar,...), so

Classpath issue

2015-07-12 Thread David Yanay
Hello, I'm trying to use Lucene 5.2.1 in my project. While trying to invoke the following code Analyzer analyzer = new EnglishAnalyzer(); IndexWriterConfig iwc = new IndexWriterConfig(analyzer) I encounter the following error: java.lang.ExceptionInInitializerError at org.apache.lucene.codecs.Cod