Click or drag to resize
IAdvancedOperationsTruncateIndex Method (String)
Truncate 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 TruncateIndex(
	string indexName
)

Parameters

indexName
Type: SystemString
The name of the index to truncate.
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