Package org.apache.solr.handler
Class CollectionsAPI
- java.lang.Object
-
- org.apache.solr.handler.CollectionsAPI
-
public class CollectionsAPI extends Object
All V2 APIs for collection management
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCollectionsAPI.CollectionsCommands
-
Field Summary
Fields Modifier and Type Field Description CollectionsAPI.CollectionsCommandscollectionsCommandsstatic StringV2_BACKUP_CMDstatic StringV2_CREATE_ALIAS_CMDstatic StringV2_CREATE_COLLECTION_CMDstatic StringV2_DELETE_ALIAS_CMDstatic StringV2_RESTORE_CMDstatic StringV2_SET_ALIAS_PROP_CMD
-
Constructor Summary
Constructors Constructor Description CollectionsAPI(CollectionsHandler collectionsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetCollections(SolrQueryRequest req, SolrQueryResponse rsp)
-
-
-
Field Detail
-
V2_CREATE_COLLECTION_CMD
public static final String V2_CREATE_COLLECTION_CMD
- See Also:
- Constant Field Values
-
V2_BACKUP_CMD
public static final String V2_BACKUP_CMD
- See Also:
- Constant Field Values
-
V2_RESTORE_CMD
public static final String V2_RESTORE_CMD
- See Also:
- Constant Field Values
-
V2_CREATE_ALIAS_CMD
public static final String V2_CREATE_ALIAS_CMD
- See Also:
- Constant Field Values
-
V2_SET_ALIAS_PROP_CMD
public static final String V2_SET_ALIAS_PROP_CMD
- See Also:
- Constant Field Values
-
V2_DELETE_ALIAS_CMD
public static final String V2_DELETE_ALIAS_CMD
- See Also:
- Constant Field Values
-
collectionsCommands
public final CollectionsAPI.CollectionsCommands collectionsCommands
-
-
Constructor Detail
-
CollectionsAPI
public CollectionsAPI(CollectionsHandler collectionsHandler)
-
-
Method Detail
-
getCollections
public void getCollections(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
-