Class ConcurrentMergeScheduler
A Merge
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class ConcurrentMergeScheduler : MergeScheduler
Constructors
Name | Description |
---|---|
Concurrent |
Fields
Name | Description |
---|---|
dir | |
merge |
|
merge |
|
writer |
Properties
Name | Description |
---|---|
Max |
Gets or sets the max # simultaneous threads that may be running. 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. |
Methods
Name | Description |
---|---|
Any |
Used for testing |
Clear |
Used for testing |
Clear |
|
Dispose(Boolean) | |
Do |
Does the actual merge, by calling Lucene. |
Get |
Create and return a new MergeThread |
Get |
Return the priority that merge threads run at. By default the priority is 1 plus the priority of (ie, slightly higher priority than) the first thread that calls merge. |
Handle |
Called when an exception is hit in a background merge thread |
Merge(Index |
|
Set |
Set the priority that merge threads run at. |
Set |
Used for testing |
Set |
|
Sync() |