Method SetMaxMergesAndThreads
SetMaxMergesAndThreads(Int32, Int32)
Sets the maximum number of merge threads and simultaneous merges allowed.
Declaration
public void SetMaxMergesAndThreads(int maxMergeCount, int maxThreadCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxMergeCount | The max # simultaneous merges that are allowed.
If a merge is necessary yet we already have this many
threads running, the incoming thread (that is calling
add/updateDocument) will block until a merge thread
has completed. Note that we will only run the
smallest |
System.Int32 | maxThreadCount | The max # simultaneous merge threads that should
be running at once. This must be <= |