Keyoti SearchUnit API Docs
Optimize Method
API DocumentationKeyoti.SearchEngine.IndexDocumentIndexOptimize()()()()
Keyoti SearchUnit v6
Reorganizes index files for optimal search speed.
Declaration Syntax
C#Visual Basic
public void Optimize()
Public Sub Optimize
Remarks
Adding/deleting documents from the index causes the index to become fragmented, therefore calling Optimize after batch operations will speed up searching.

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610