Click or drag to resize
IAdvancedOperationsOptimizeIndex Method (String)
Optimize the real-time index with the given name. Supported with Sphinx 2.1 and up.

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntax
void OptimizeIndex(
	string indexName
)

Parameters

indexName
Type: SystemString
The name of the index to optimize.
Exceptions
ExceptionCondition
ArgumentExceptionOccurs if indexName is empty.
ArgumentNullExceptionOccurs if indexName is null.
FulltextExceptionOccurs when there is an error during the execution of the operation.
See Also