hi all,

I have a test for document migrate. I followed this url:
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api12Migratedocumentstoanothercollection

I am trying on solr- 4.6.1. I have two collection (collection1 and
collection2) and two shards. my collection1 has 33 document and collection2
has 14 doc. I tried a request as follow:
http://localhost:8983/solr/admin/collections?action=MIGRATE&collection=collection1&split.key=key1!&target.collection=collection2

The response is as follow:

<response>
<lst name="responseHeader">
<int name="status">400</int>
<int name="QTime">0</int>
</lst>
<lst name="error">
<str name="msg">Unknown action: MIGRATE</str>
<int name="code">400</int>
</lst>
</response>

Why do solr response say "Unknown action: MIGRATE" ? What is my mistake?

Reply via email to