IndexFormatTooOldException while upgrading Lucene 4.10 index to 5.2

2015-06-16 Thread Sven Teichmann
Today I tried to upgrade a Lucene 4.10 index to 5.2 using the IndexUpgrader. This throws the following exception: Exception in thread "Lucene Merge Thread #0" org.apache.lucene.index.MergePolicy$MergeException: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (re

RE: IndexFormatTooOldException while upgrading Lucene 4.10 index to 5.2

2015-06-16 Thread Uwe Schindler
Hi, you need to add the JAR file lucene-backward-codec.jar to the classpath (or add it via Maven). It contains the codecs to read pre-5.0 versions. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From:

Re: IndexFormatTooOldException while upgrading Lucene 4.10 index to 5.2

2015-06-16 Thread Michael McCandless
Indeed DirectDocValuesFormat had a back-compat break between 4.x and 5.x ... this is expected/allowed (it is an experimental format). You should be able to do something like this to more forwards: * In 4.x, open a new IndexWriter, using the default Codec (which is back-compat) * Use addIndex

RE: IndexFormatTooOldException while upgrading Lucene 4.10 index to 5.2

2015-06-16 Thread Uwe Schindler
Hi, Sorry, I just noticed that you are using DirectDocValues format, which was experimental. You cannot directly upgrade this to 5.0. I would suggest to convert your index to use the default codec in 4.10 (e.g., by using addIndexes to a new index directory, or by forceMerge with an IndexWriter

Re: Exception While searching through indices.

2015-06-16 Thread Gimantha Bandara
Hi Dat, We have an entity called 'record' which contain a record id, a table name and a set of values. When we insert records to our data layer, we index those records by the id and the values. Indexing is done in a separate thread. I ll explain how this done. When we insert records to data layer,

Need Help To understand feasibility

2015-06-16 Thread suraj kumar
Hi Team, I am working on a project where I have to create reports using data from ElasticSearch and Microsoft Sql Server. Like some data is getting dump in ElasticSearc document and some data is in Sql server. I am in big trouble how to bring ElasticSarch data to SSRS reports. Please let me kn