public class CollectionAdminRequest extends SolrRequest
Modifier and Type | Class and Description |
---|---|
static class |
CollectionAdminRequest.AddReplica |
protected static class |
CollectionAdminRequest.CollectionShardAdminRequest |
static class |
CollectionAdminRequest.Create |
static class |
CollectionAdminRequest.CreateAlias |
static class |
CollectionAdminRequest.CreateShard |
static class |
CollectionAdminRequest.Delete |
static class |
CollectionAdminRequest.DeleteAlias |
static class |
CollectionAdminRequest.DeleteShard |
static class |
CollectionAdminRequest.Reload |
static class |
CollectionAdminRequest.RequestStatus |
static class |
CollectionAdminRequest.SplitShard |
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
protected CollectionParams.CollectionAction |
action |
protected String |
asyncId |
protected String |
collection |
Constructor and Description |
---|
CollectionAdminRequest() |
CollectionAdminRequest(String path) |
getMethod, getPath, getResponseParser, getStreamingResponseCallback, setMethod, setPath, setResponseParser, setStreamingResponseCallback
protected String collection
protected CollectionParams.CollectionAction action
protected String asyncId
public CollectionAdminRequest()
public CollectionAdminRequest(String path)
public final void setCollectionName(String collectionName)
public void setAction(CollectionParams.CollectionAction action)
public void setAsyncId(String asyncId)
public SolrParams getParams()
getParams
in class SolrRequest
public Collection<ContentStream> getContentStreams() throws IOException
getContentStreams
in class SolrRequest
IOException
public CollectionAdminResponse process(SolrServer server) throws SolrServerException, IOException
process
in class SolrRequest
SolrServerException
IOException
public static CollectionAdminResponse createCollection(String name, Integer shards, Integer repl, Integer maxShards, String nodeSet, String conf, String routerField, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createCollection(String name, Integer shards, Integer repl, Integer maxShards, String nodeSet, String conf, String routerField, Boolean autoAddReplicas, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createCollection(String name, Integer shards, Integer repl, Integer maxShards, String nodeSet, String conf, String routerField, SolrServer server, String asyncId) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createCollection(String name, Integer shards, String conf, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createCollection(String name, Integer shards, String conf, SolrServer server, String asyncId) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createCollection(String name, String shards, Integer repl, Integer maxShards, String nodeSet, String conf, String routerField, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createCollection(String name, String shards, Integer repl, Integer maxShards, String nodeSet, String conf, String routerField, SolrServer server, String asyncId) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createCollection(String name, String shards, String conf, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createCollection(String name, String shards, String conf, SolrServer server, String asyncId) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse reloadCollection(String name, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse reloadCollection(String name, SolrServer server, String asyncId) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse deleteCollection(String name, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse deleteCollection(String name, SolrServer server, String asyncId) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse requestStatus(String requestId, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createShard(String name, String shard, String nodeSet, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createShard(String name, String shard, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse splitShard(String name, String shard, String ranges, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse splitShard(String name, String shard, String ranges, SolrServer server, String asyncId) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse splitShard(String name, String shard, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse splitShard(String name, String shard, SolrServer server, String asyncId) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse deleteShard(String name, String shard, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse createAlias(String name, String collections, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
public static CollectionAdminResponse deleteAlias(String name, SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.