Keyoti SearchUnit API Docs
Optimize Method
API DocumentationKeyoti.SearchEngine.IndexDocumentIndexOptimize()()()()
Keyoti SearchUnit v6
Reorganizes index files for optimal search speed.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public void Optimize()
public void Optimize()
Public Sub Optimize
Public Sub Optimize
public:
void Optimize()
public:
void Optimize()
member Optimize : unit -> unit 
member Optimize : unit -> unit 
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: 2015.6.15.120