IAdvanced OperationsOptimize IndexTDocument Method
Optimize the real-time index that stores the given document type. 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<TDocument>()
VB
Sub OptimizeIndex(Of TDocument)Type Parameters
- TDocument
- The type of document for which the index should be optimized.
Exceptions
| FulltextException | Occurs when there is an error during the execution of the operation. |