Method OptimizeIndexes
OptimizeIndexes(String, List<String>)
Optimize indexes
Declaration
void OptimizeIndexes(string connectionId, List<string> indexNames)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.Collections.Generic.List<System.String> | indexNames | The names of the indexes which will be optimized |
Examples
POST http://YourServerName/InfoShare/Json/Server/OptimizeIndexes
Example for optimize indexes{
"connectionId": "cd9e68a9-25bb-40a2-8f73-4446e3894fd4",
"indexNames": [
"IDXProperty11_NU_NC_idx3",
"IDXProperty10_NU_NC_idx4",
"DataItem_U_NC_PK"
]
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Collection indexNames must contain at least one index (10229) |