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 class
CollectionsAPI.CollectionsCommands
-
Field Summary
Fields Modifier and Type Field Description CollectionsAPI.CollectionsCommands
collectionsCommands
static String
V2_BACKUP_CMD
static String
V2_CREATE_ALIAS_CMD
static String
V2_CREATE_COLLECTION_CMD
static String
V2_DELETE_ALIAS_CMD
static String
V2_RESTORE_CMD
static String
V2_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 void
getCollections(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
-
-