Sunday, April 1, 2018

FW: Trying to Restore older indexes in Solr7.2.1

-----Original Message-----
From: Mugdha Varadkar [mailto:mugdha.varadkar010@gmail.com]
Sent: 28 March 2018 12:47
To: solr-user@lucene.apache.org
Subject: Trying to Restore older indexes in Solr7.2.1

Hi,

I am trying to restore Solr 5.5.5 indexes into Solr 7.2.1

Performed below steps:

1. Upgraded the indexes to Solr 6.6.2 indexes using IndexUpgraded Tool

<https://lucene.apache.org/solr/guide/7_0/indexupgrader-tool.html#indexupgra
der-tool
>
Command used : java -cp

server/solr-webapp/webapp/WEB-INF/lib/lucene-core-6.6.2.jar:server/solr-weba
pp/webapp/WEB-INF/lib/lucene-backward-codecs-6.6.2.jar
org.apache.lucene.index.IndexUpgrader -verbose
/usr/local/solr_5_5_data/index/
2. Deleted the old collection used previously, as there is a change in
schema file.
3. Created new collection for new schema. Keeping the replication and
shards same as old collection.
4. Now there is data going into new collection.
5. Then I restore the upgraded indexes using replication API.(As the
backup was taken using that.)
6. The indexes got restored but the new data created after new
collection creation was not available.

Can someone suggest what I missed during upgrading the indexes ?

Thanks,
Mugdha Varadkar

No comments:

Post a Comment