public class CoreAdminRequest extends SolrRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
CoreAdminRequest.Create |
static class |
CoreAdminRequest.MergeIndexes |
static class |
CoreAdminRequest.Persist |
static class |
CoreAdminRequest.Unload |
SolrRequest.METHOD| Modifier and Type | Field and Description |
|---|---|
protected CoreAdminParams.CoreAdminAction |
action |
protected String |
core |
protected String |
other |
| Constructor and Description |
|---|
CoreAdminRequest() |
CoreAdminRequest(String path) |
getMethod, getPath, getResponseParser, setMethod, setPath, setResponseParserprotected String core
protected String other
protected CoreAdminParams.CoreAdminAction action
public CoreAdminRequest()
public CoreAdminRequest(String path)
public final void setCoreName(String coreName)
public final void setOtherCoreName(String otherCoreName)
public void setAction(CoreAdminParams.CoreAdminAction action)
public SolrParams getParams()
getParams in class SolrRequestpublic Collection<ContentStream> getContentStreams() throws IOException
getContentStreams in class SolrRequestIOExceptionpublic CoreAdminResponse process(SolrServer server) throws SolrServerException, IOException
process in class SolrRequestSolrServerExceptionIOExceptionpublic static CoreAdminResponse reloadCore(String name, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CoreAdminResponse unloadCore(String name, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CoreAdminResponse unloadCore(String name, boolean deleteIndex, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CoreAdminResponse renameCore(String coreName, String newName, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CoreAdminResponse aliasCore(String coreName, String newName, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CoreAdminResponse getStatus(String name, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CoreAdminResponse createCore(String name, String instanceDir, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CoreAdminResponse createCore(String name, String instanceDir, SolrServer server, String configFile, String schemaFile) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CoreAdminResponse persist(String fileName, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionpublic static CoreAdminResponse mergeIndexes(String name, String[] indexDirs, String[] srcCores, SolrServer server) throws SolrServerException, IOException
SolrServerExceptionIOExceptionCopyright © 2006–2014 The Apache Software Foundation. All rights reserved.