IAdvancedOperationsOptimizeIndex(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
C#
void OptimizeIndex(
	string indexName
)

Parameters

indexName  String
The name of the index to optimize.

Exceptions

ArgumentExceptionOccurs if indexName is empty.
ArgumentNullExceptionOccurs if indexName is null.
FulltextExceptionOccurs when there is an error during the execution of the operation.

See Also