Reorganizes index files for optimal search speed.

C# | Visual Basic | Visual C++ |
public void Optimize()
Public Sub Optimize
public: void Optimize()

Adding/deleting documents from the index causes the index to become fragmented, therefore calling
Optimize after batch operations will speed up searching.