public class CollectionAdminRequest extends SolrRequest
| Modifier and Type | Class and Description |
|---|---|
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.SplitShard |
SolrRequest.METHOD| Modifier and Type | Field and Description |
|---|---|
protected CollectionParams.CollectionAction |
action |
protected String |
collection |
| Constructor and Description |
|---|
CollectionAdminRequest() |
CollectionAdminRequest(String path) |
getMethod, getPath, getResponseParser, getStreamingResponseCallback, setMethod, setPath, setResponseParser, setStreamingResponseCallbackprotected String collection
protected CollectionParams.CollectionAction action
public CollectionAdminRequest()
public CollectionAdminRequest(String path)
public final void setCollectionName(String collectionName)
public void setAction(CollectionParams.CollectionAction action)
public SolrParams getParams()
getParams in class SolrRequestpublic Collection<ContentStream> getContentStreams() throws IOException
getContentStreams in class SolrRequestIOExceptionpublic CollectionAdminResponse process(SolrServer server) throws SolrServerException, IOException
process in class SolrRequestSolrServerExceptionIOExceptionpublic static CollectionAdminResponse createCollection(String name, Integer shards, Integer repl, Integer maxShards, String nodeSet, String conf, String routerField, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse createCollection(String name, Integer shards, String conf, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse createCollection(String name, String shards, Integer repl, Integer maxShards, String nodeSet, String conf, String routerField, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse createCollection(String name, String shards, String conf, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse reloadCollection(String name, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse deleteCollection(String name, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse createShard(String name, String shard, String nodeSet, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse createShard(String name, String shard, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse splitShard(String name, String shard, String ranges, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse splitShard(String name, String shard, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse deleteShard(String name, String shard, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse createAlias(String name, String collections, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CollectionAdminResponse deleteAlias(String name, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.