SolrNet.Commands.OptimizeCommand Class Reference
Optimizes Solr's index. More...
Inheritance diagram for SolrNet.Commands.OptimizeCommand:
Public Member Functions | |
string | Execute (ISolrConnection connection) |
Executes this command. | |
Properties | |
bool | WaitFlush [get, set] |
Block until index changes are flushed to disk Default is true. | |
bool | WaitSearcher [get, set] |
Block until a new searcher is opened and registered as the main query searcher, making the changes visible. Default is true. | |
bool | ExpungeDeletes [get, set] |
Merge segments with deletes away Default is false. | |
int | MaxSegments [get, set] |
Optimizes down to, at most, this number of segments Default is 1. |
Detailed Description
Optimizes Solr's index.
Lucene FAQ
Member Function Documentation
string SolrNet.Commands.OptimizeCommand.Execute | ( | ISolrConnection | connection ) |
Property Documentation
bool SolrNet.Commands.OptimizeCommand.ExpungeDeletes [get, set] |
Merge segments with deletes away Default is false.
int SolrNet.Commands.OptimizeCommand.MaxSegments [get, set] |
Optimizes down to, at most, this number of segments Default is 1.
bool SolrNet.Commands.OptimizeCommand.WaitFlush [get, set] |
Block until index changes are flushed to disk Default is true.
bool SolrNet.Commands.OptimizeCommand.WaitSearcher [get, set] |
Block until a new searcher is opened and registered as the main query searcher, making the changes visible. Default is true.
The documentation for this class was generated from the following file:
- SolrNet/Commands/OptimizeCommand.cs
Generated on Sun May 3 2015 17:19:06 for SolrNet by 1.7.2