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.createCollection(String collection,
String config,
int numShards,
int numNrtReplicas,
int numTlogReplicas,
int numPullReplicas)
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
|
static CollectionAdminRequest.Create |
CollectionAdminRequest.createCollectionWithImplicitRouter(String collection,
String config,
String shards,
int numNrtReplicas,
int numTlogReplicas,
int numPullReplicas)
Returns a SolrRequest for creating a collection with the implicit router and specific types of replicas
|
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setAutoAddReplicas(boolean autoAddReplicas) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setCreateNodeSet(String nodeSet) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setMaxShardsPerNode(Integer numShards) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setNrtReplicas(Integer nrtReplicas) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setPolicy(String policy) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setProperties(Map<String,String> properties) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setProperties(Properties properties) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setPullReplicas(Integer pullReplicas) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.setReplicationFactor(Integer repl) |
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.setTlogReplicas(Integer tlogReplicas) |
CollectionAdminRequest.Create |
CollectionAdminRequest.Create.withProperty(String key,
String value) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.