For our project we are using Lucene 5.5.0
library to create Lucene shards, however there is one ETL job for which, we need to create Lucene 4.10.3 shards so that we can index the shards in Solr cloud
. I'd like to keep the Lucene version as 5.5.0, so I am trying to set the version through the API to be more specific I do this:
val analyzer = new KeywordAnalyzer()
val luceneVersion = Version.parseLeniently(version)
analyzer.setVersion(luceneVersion)
However when I try to index the generated shards into Solr cloud
I get the following error message:
Error CREATEing SolrCore 'ac_test2_shard2_replica1': Unable to create core [ac_test2_shard2_replica1] Caused by: Format version is not supported (resource: BufferedChecksumIndexInput(segments_1)): 6 (needs to be between 0 and 3)
Which based on this post is due to the fact that created Lucene version are not compatible with Solr cloud
version. Can someone help me to understand why the created shards are still not compatible and how can I create a compatible older version shards?