Merges all segments together into a single segment, optimizing an index
for search.
has this index open ( could not
be obtained)
Namespace: Lucene.Net.IndexCopyC#
write.lock
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void Optimize() |
Visual Basic |
---|
Public Overridable Sub Optimize |
Visual C++ |
---|
public: virtual void Optimize() |