Hi,

I don't seem to be able to get the merge core feature to work with Solr 7.2.1.
I'm using the srcCore parameter method documented at 
https://lucene.apache.org/solr/guide/6_6/coreadmin-api.html#CoreAdminAPI-MERGEINDEXES

I am making the following GET HTTP call using a browser:
http://localhost:8991/solr/admin/cores?action=mergeindexes&core=mcol&srcCore=col1&srcCore=col2
In the call above the following cores are referenced:
merged core name: mcol
core 1 name : fc1
core 2 name : fc1
All 3 cores preexist.

The response content I get is :
{
  "responseHeader":{
    "status":0,
    "QTime":57}}

I see the following in the logs:
747532 [qtp2028017635-17] INFO  org.apache.solr.servlet.HttpSolrCall  - [admin] 
webapp=null path=/admin/cores 
params={core=mcx&action=mergeindexes&srcCore=fcl1&srcCore=fc2} status=400 
QTime=2
756577 [qtp2028017635-18] INFO  org.apache.solr.update.DirectUpdateHandler2  - 
start 
mergeIndexes{NRTCachingDirectory(MMapDirectory@C:\collections\fc1\data\index 
lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@7c53c896; 
maxCacheMB=48.0 
maxMergeSizeMB=4.0),NRTCachingDirectory(MMapDirectory@C:\collections\fc2\data\index
 lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@3e2255a5; 
maxCacheMB=48.0 maxMergeSizeMB=4.0)}
756602 [qtp2028017635-18] INFO  org.apache.solr.update.DirectUpdateHandler2  - 
end_mergeIndexes

But the number of docs in the merged core do not increase post merge operation. 
Search for keywords that exist in the core1 do not return results with merged 
core.
Am I missing something?


Best regards,
Piyush.

Reply via email to