Class UnloadCoreAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.UnloadCoreAPI
-
public class UnloadCoreAPI extends Object
V2 API for renaming an existing Solr core.The new API (POST /v2/cores/coreName {'unload': {...}}) is equivalent to the v1 /admin/cores?action=unload command.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnloadCoreAPI.UnloadCorePayload
-
Constructor Summary
Constructors Constructor Description UnloadCoreAPI(CoreAdminHandler coreHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
unloadCore(PayloadObj<UnloadCoreAPI.UnloadCorePayload> obj)
-
-
-
Constructor Detail
-
UnloadCoreAPI
public UnloadCoreAPI(CoreAdminHandler coreHandler)
-
-
Method Detail
-
unloadCore
public void unloadCore(PayloadObj<UnloadCoreAPI.UnloadCorePayload> obj) throws Exception
- Throws:
Exception
-
-