@Path(value="/mgmt/mailbox/{domainUid}")
public interface IMailboxMgmt
Modifier and Type | Method and Description |
---|---|
TaskRef |
consolidateDomain()
reindex all domain mailboxes
|
TaskRef |
consolidateMailbox(java.lang.String mailboxUid)
consolidate a single mailbox index
|
java.util.List<ShardStats> |
getShardsStats() |
void |
move(ItemValue<Mailbox> mailbox,
ItemValue<Server> server) |
TaskRef |
moveIndex(java.lang.String mailboxUid,
java.lang.String indexName)
move ES index
|
@POST @Path(value="{mailboxUid}/_consolidate") TaskRef consolidateMailbox(@PathParam(value="mailboxUid") java.lang.String mailboxUid) throws ServerFault
mailboxUid
- ServerFault
@POST @Path(value="_consolidate") TaskRef consolidateDomain() throws ServerFault
ServerFault
@POST @Path(value="{mailboxUid}/_move_index") TaskRef moveIndex(@PathParam(value="mailboxUid") java.lang.String mailboxUid, @QueryParam(value="index") java.lang.String indexName) throws ServerFault
mailboxUid
- indexName
- indexName must start with mailspool. ex mailspool_2ServerFault
void move(ItemValue<Mailbox> mailbox, ItemValue<Server> server) throws ServerFault
ServerFault
@GET @Path(value="shardsStats") java.util.List<ShardStats> getShardsStats()
ShardStats
ordered by ShardStats.docCount
Copyright © 2021. All Rights Reserved.