lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alias" <524839...@qq.com>
Subject Migrate Documents to Another Collection
Date Mon, 06 Feb 2017 02:20:37 GMT
hello,please help me look this question 



I have a solr collections on the merger, we would like to ask the next question is as follows
I have two collections, c1 and c2,

C1 colleciton there are 10 data, id is from c1_0 to c1_9,

C2 colleciton also has 10 data, id is from c2_0 to c2_9,

I now want to c1 id c1_ format data into the c2, I implemented the following order, it seems
no effect, and why?

I c1 designated in the new router.field=id

http://localhost:8081/solr/admin/collections?action=CREATE&name=c1&numShards=3&replicationFactor=3&maxShardsPerNode=3&collection.configName=myconf&router.field=id

I refer to https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api12

Solr version 6.3.0

I have a problem? Or understanding wrong?
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message