deprecation cleaning

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307347 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sami Siren 2012-03-30 10:21:29 +00:00
parent 42141717a3
commit d46c69e9ad
3 changed files with 0 additions and 16 deletions

View File

@ -147,11 +147,6 @@ public class CoreAdminHandler extends RequestHandlerBase {
break;
}
case ALIAS: {
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "'ALIAS' is not supported " +
req.getParams().get(CoreAdminParams.ACTION));
}
case UNLOAD: {
doPersist = this.handleUnloadAction(req, rsp);
break;

View File

@ -419,15 +419,6 @@ public class CoreAdminRequest extends SolrRequest
return req.process( server );
}
public static CoreAdminResponse aliasCore(String coreName, String newName, SolrServer server ) throws SolrServerException, IOException
{
CoreAdminRequest req = new CoreAdminRequest();
req.setCoreName(coreName);
req.setOtherCoreName(newName);
req.setAction( CoreAdminAction.ALIAS );
return req.process( server );
}
public static CoreAdminResponse getStatus( String name, SolrServer server ) throws SolrServerException, IOException
{
CoreAdminRequest req = new CoreAdminRequest();

View File

@ -87,8 +87,6 @@ public interface CoreAdminParams
PERSIST,
SWAP,
RENAME,
@Deprecated
ALIAS,
MERGEINDEXES,
PREPRECOVERY,
REQUESTRECOVERY,