IAdvanced OperationsOptimize Index(String) Method
Optimize the real-time index with the given name. Supported with Sphinx 2.1 and up.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
void OptimizeIndex(
string indexName
)VB
Sub OptimizeIndex (
indexName As String
)Parameters
- indexName String
- The name of the index to optimize.
Exceptions
| ArgumentException | Occurs if indexName is empty. |
| ArgumentNullException | Occurs if indexName is null. |
| FulltextException | Occurs when there is an error during the execution of the operation. |