Interface CollectionAdminParams


  • public interface CollectionAdminParams
    • Field Detail

      • 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.
      • 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
      • 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