Class CreateCollectionRequestBody

java.lang.Object
org.apache.solr.client.api.model.CreateCollectionRequestBody

public class CreateCollectionRequestBody extends Object
Request body for v2 "create collection" requests
  • Field Details

    • name

      public String name
    • replicationFactor

      public Integer replicationFactor
    • config

      public String config
    • numShards

      public Integer numShards
    • shardNames

      public List<String> shardNames
    • pullReplicas

      public Integer pullReplicas
    • tlogReplicas

      public Integer tlogReplicas
    • nrtReplicas

      public Integer nrtReplicas
    • waitForFinalState

      @Deprecated(since="9.10") public Boolean waitForFinalState
      Deprecated.
      Solr is moving toward always waiting for final state, with no option to opt out; once that happens, this parameter will have no effect and will likely be removed. See SOLR-17712.
    • perReplicaState

      public Boolean perReplicaState
    • alias

      public String alias
    • properties

      public Map<String,String> properties
    • async

      public String async
    • router

    • nodeSet

      public List<String> nodeSet
    • createReplicas

      public Boolean createReplicas
    • shuffleNodes

      public Boolean shuffleNodes
  • Constructor Details

    • CreateCollectionRequestBody

      public CreateCollectionRequestBody()