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
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:
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
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
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,
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