Hi; I think that we should add which version includes which parameters at Collections API wiki page. A new 'migrate' collection API to split all documents with a route key into another collection is introduced with Solr 4.7.0
Thanks; Furkan KAMACI 2014-03-25 11:51 GMT+02:00 Cihat güzel <c.guzel....@gmail.com>: > 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? >