Class 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 Detail

    • Method Detail

      • migrateDocs

        public void migrateDocs​(PayloadObj<org.apache.solr.client.solrj.request.beans.MigrateDocsPayload> obj)
                         throws Exception
        Throws:
        Exception