public static class CoreAdminRequest.Create extends CoreAdminRequest
CoreAdminRequest.Create, CoreAdminRequest.CreateSnapshot, CoreAdminRequest.DeleteSnapshot, CoreAdminRequest.ListSnapshots, CoreAdminRequest.MergeIndexes, CoreAdminRequest.OverrideLastPublished, CoreAdminRequest.RequestRecovery, CoreAdminRequest.RequestSyncShard, CoreAdminRequest.Unload, CoreAdminRequest.WaitForState
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
protected String |
collection |
protected String |
configName |
protected String |
configSet |
protected String |
dataDir |
protected String |
instanceDir |
protected String |
schemaName |
protected String |
ulogDir |
action, core, isIndexInfoNeeded, other
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
Create() |
createCore, createCore, createCore, createResponse, getCoreStatus, getCoreStatus, getStatus, mergeIndexes, reloadCore, renameCore, setAction, setIndexInfoNeeded, setOtherCoreName, swapCore, unloadCore, unloadCore, unloadCore
getBasicAuthPassword, getBasicAuthUser, getContentStreams, getContentWriter, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUseV2
protected String instanceDir
protected String configName
protected String schemaName
protected String dataDir
protected String ulogDir
protected String configSet
protected String collection
public void setInstanceDir(String instanceDir)
public void setSchemaName(String schema)
public void setConfigName(String config)
public void setDataDir(String dataDir)
public void setUlogDir(String ulogDir)
public void setConfigSet(String configSet)
public void setCollection(String collection)
public void setNumShards(int numShards)
public void setShardId(String shardId)
public void setRoles(String roles)
public void setCoreNodeName(String coreNodeName)
public void setIsTransient(Boolean isTransient)
public void setIsLoadOnStartup(Boolean loadOnStartup)
public void setCollectionConfigName(String name)
public String getInstanceDir()
public String getSchemaName()
public String getConfigName()
public String getDataDir()
public String getUlogDir()
public String getConfigSet()
public String getCollection()
getCollection
in class SolrRequest<CoreAdminResponse>
public String getShardId()
public String getRoles()
public String getCoreNodeName()
public Boolean getIsLoadOnStartup()
public Boolean getIsTransient()
public String getCollectionConfigName()
public void setCoreName(String coreName)
setCoreName
in class CoreAdminRequest
IllegalArgumentException
- if the core name contains invalid characters.public SolrParams getParams()
getParams
in class CoreAdminRequest
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.