UMA MAHESWAR
UMA MAHESWAR

Reputation: 177

Merge Two solr core into One

I have two solr cores namely Unit1 and Unit2 with the same schema for both.Now I have created a new core called Unit and I want to copy/move the data from unit1 core and unit2 core into Unit core . Thanks in advance for the replies/answers.

Upvotes: 1

Views: 702

Answers (1)

Abhijit Bashetti
Abhijit Bashetti

Reputation: 8658

You can call the below :

admin/cores?action=MERGEINDEXES&core=new-core-name&indexDir=path/to/core1/data/index&indexDir=path/to/core2/data/index

for more details on the same you can refer Merge Indexes link.

Upvotes: 2

Related Questions