Class MigrateDocsAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.MigrateDocsAPI
-
public class MigrateDocsAPI extends Object
V2 API for migrating docs from one collection to another.The new API (POST /v2/collections/collectionName {'migrate-docs': {...}}) is analogous to the v1 /admin/collections?action=MIGRATE command.
- See Also:
MigrateDocsPayload
-
-
Constructor Summary
Constructors Constructor Description MigrateDocsAPI(CollectionsHandler collectionsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
migrateDocs(PayloadObj<org.apache.solr.client.solrj.request.beans.MigrateDocsPayload> obj)
-
-
-
Constructor Detail
-
MigrateDocsAPI
public MigrateDocsAPI(CollectionsHandler collectionsHandler)
-
-
Method Detail
-
migrateDocs
public void migrateDocs(PayloadObj<org.apache.solr.client.solrj.request.beans.MigrateDocsPayload> obj) throws Exception
- Throws:
Exception
-
-