Class MergeIndexesAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.MergeIndexesAPI
-
public class MergeIndexesAPI extends Object
V2 API for merging one or more Solr cores into the target core.The new API (POST /v2/cores/coreName {'merge-indexes': {...}}) is equivalent to the v1 /admin/cores?action=mergeindexes command.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MergeIndexesAPI.MergeIndexesPayload
-
Constructor Summary
Constructors Constructor Description MergeIndexesAPI(CoreAdminHandler coreHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mergeIndexesIntoCore(PayloadObj<MergeIndexesAPI.MergeIndexesPayload> obj)
-
-
-
Constructor Detail
-
MergeIndexesAPI
public MergeIndexesAPI(CoreAdminHandler coreHandler)
-
-
Method Detail
-
mergeIndexesIntoCore
public void mergeIndexesIntoCore(PayloadObj<MergeIndexesAPI.MergeIndexesPayload> obj) throws Exception
- Throws:
Exception
-
-