Package | Description |
---|---|
org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
Modifier and Type | Method and Description |
---|---|
static CollectionAdminRequest.Create |
CollectionAdminRequest.createCollection(String collection,
int numShards,
int numReplicas)
Returns a SolrRequest for creating a collection using a default configSet
This requires that there is either a single configset configured in the cluster, or
that there is a configset with the same name as the collection
|
static CollectionAdminRequest.Create |
CollectionAdminRequest.createCollection(String collection,
String config,
int numShards,
int numReplicas)
Returns a SolrRequest for creating a collection
|
static CollectionAdminRequest.Create |
CollectionAdminRequest.createCollectionWithImplicitRouter(String collection,
String config,
String shards,
int numReplicas)
Returns a SolrRequest for creating a collection with the implicit router
|
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setAsyncId(String id)
Deprecated.
|
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setAutoAddReplicas(boolean autoAddReplicas) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setCollectionName(String collectionName)
Deprecated.
|
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setConfigName(String config)
Deprecated.
|
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setCreateNodeSet(String nodeSet) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setMaxShardsPerNode(Integer numShards) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setNumShards(Integer numShards)
Deprecated.
|
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setProperties(Map<String,String> properties) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setProperties(Properties properties) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setReplicationFactor(Integer repl)
Deprecated.
|
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setRouterField(String routerField) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setRouterName(String routerName) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setRule(String... s) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setShards(String shards)
Provide the name of the shards to be created, separated by commas
Shard names must consist entirely of periods, underscores, hyphens, and alphanumerics.
|
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setSnitch(String... s) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setStateFormat(Integer stateFormat) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.withProperty(String key,
String value) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.