Package org.apache.solr.common.params
Interface CollectionAdminParams
-
public interface CollectionAdminParams
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALIAS
When creating a collection create also a specified alias.static String
CLUSTER
Cluster wide defaults can be nested under this key e.g.static String
COLL_CONF
The name of the config set to be used for a collectionstatic String
COLLECTION
static String
COPY_FILES_STRATEGY
This constant defines the index backup strategy based on copying index files to desired location.static String
COUNT_PROP
static String
CREATE_NODE_SET_PARAM
A parameter to specify list of Solr nodes to be used (e.g.static String
CREATE_NODE_SET_SHUFFLE_PARAM
A parameter which specifies if the provided list of Solr nodes (via CREATE_NODE_SET_PARAM) should be shuffled before being used.static String
DEFAULTS
Used by cluster properties API as a wrapper key to provide defaults for collection, cluster etc.static String
FLUSH
static String
FOLLOW_ALIASES
Option to follow aliases when deciding the target of a collection admin command.static Collection<String>
INDEX_BACKUP_STRATEGIES
This constant defines a list of valid index backup strategies.static String
INDEX_BACKUP_STRATEGY
A parameter to specify the name of the index backup strategy to be used.static String
NO_INDEX_BACKUP_STRATEGY
This constant defines the strategy to not copy index files (useful for meta-data only backup).static String
NUM_SHARDS
The number of shards to create a particular collection with.static String
PROPERTY_NAME
Name of collection property to setstatic String
PROPERTY_PREFIX
Prefix for arbitrary collection or replica properties.static String
PROPERTY_VALUE
Value of collection property to setstatic String
ROLE
static String
ROUTER_PREFIX
Prefix forDocRouter
propertiesstatic String
SKIP_NODE_ASSIGNMENT
When AddReplica is called with this set to true, then we do not try to find node assignments for the add replica API.static String
SYSTEM_COLL
Predefined system collection name.static String
TARGET
Specifies the target of RENAME operation.
-
-
-
Field Detail
-
FLUSH
static final String FLUSH
- See Also:
- Constant Field Values
-
COLLECTION
static final String COLLECTION
- See Also:
- Constant Field Values
-
COUNT_PROP
static final String COUNT_PROP
- See Also:
- Constant Field Values
-
ROLE
static final String ROLE
- See Also:
- Constant Field Values
-
SYSTEM_COLL
static final String SYSTEM_COLL
Predefined system collection name.- See Also:
- Constant Field Values
-
CREATE_NODE_SET_PARAM
static final String CREATE_NODE_SET_PARAM
A parameter to specify list of Solr nodes to be used (e.g. for collection creation or restore operation).- See Also:
- Constant Field Values
-
NUM_SHARDS
static final String NUM_SHARDS
The number of shards to create a particular collection with.- See Also:
- Constant Field Values
-
CREATE_NODE_SET_SHUFFLE_PARAM
static final String CREATE_NODE_SET_SHUFFLE_PARAM
A parameter which specifies if the provided list of Solr nodes (via CREATE_NODE_SET_PARAM) should be shuffled before being used.- See Also:
- Constant Field Values
-
INDEX_BACKUP_STRATEGY
static final String INDEX_BACKUP_STRATEGY
A parameter to specify the name of the index backup strategy to be used.- See Also:
- Constant Field Values
-
COPY_FILES_STRATEGY
static final String COPY_FILES_STRATEGY
This constant defines the index backup strategy based on copying index files to desired location.- See Also:
- Constant Field Values
-
NO_INDEX_BACKUP_STRATEGY
static final String NO_INDEX_BACKUP_STRATEGY
This constant defines the strategy to not copy index files (useful for meta-data only backup).- See Also:
- Constant Field Values
-
INDEX_BACKUP_STRATEGIES
static final Collection<String> INDEX_BACKUP_STRATEGIES
This constant defines a list of valid index backup strategies.
-
PROPERTY_NAME
static final String PROPERTY_NAME
Name of collection property to set- See Also:
- Constant Field Values
-
PROPERTY_VALUE
static final String PROPERTY_VALUE
Value of collection property to set- See Also:
- Constant Field Values
-
COLL_CONF
static final String COLL_CONF
The name of the config set to be used for a collection- See Also:
- Constant Field Values
-
DEFAULTS
static final String DEFAULTS
Used by cluster properties API as a wrapper key to provide defaults for collection, cluster etc.e.g. {defaults:{collection:{replicationFactor:2}}}
- See Also:
- Constant Field Values
-
CLUSTER
static final String CLUSTER
Cluster wide defaults can be nested under this key e.g. {defaults: {cluster:{useLegacyReplicaAssignment:false}}}- See Also:
- Constant Field Values
-
ALIAS
static final String ALIAS
When creating a collection create also a specified alias.- See Also:
- Constant Field Values
-
TARGET
static final String TARGET
Specifies the target of RENAME operation.- See Also:
- Constant Field Values
-
ROUTER_PREFIX
static final String ROUTER_PREFIX
Prefix forDocRouter
properties- See Also:
- Constant Field Values
-
FOLLOW_ALIASES
static final String FOLLOW_ALIASES
Option to follow aliases when deciding the target of a collection admin command.- See Also:
- Constant Field Values
-
SKIP_NODE_ASSIGNMENT
static final String SKIP_NODE_ASSIGNMENT
When AddReplica is called with this set to true, then we do not try to find node assignments for the add replica API. If set to true, a valid "node" should be specified.- See Also:
- Constant Field Values
-
PROPERTY_PREFIX
static final String PROPERTY_PREFIX
Prefix for arbitrary collection or replica properties.- See Also:
- Constant Field Values
-
-