Interface IndexWriter.IEvent
Interface for internal atomic events. See Lucene.Net.Index.DocumentsWriter for details. Events are executed concurrently and no order is guaranteed. Each event should only rely on the serializeability within it's process method. All actions that must happen before or after a certain action must be encoded inside the Process(IndexWriter, Boolean, Boolean) method.
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public interface IEvent
Methods
| Improve this Doc View SourceProcess(IndexWriter, Boolean, Boolean)
Processes the event. this method is called by the IndexWriter passed as the first argument.
Declaration
void Process(IndexWriter writer, bool triggerMerge, bool clearBuffers)
Parameters
Type | Name | Description |
---|---|---|
IndexWriter | writer | the IndexWriter that executes the event. |
System.Boolean | triggerMerge |
|
System.Boolean | clearBuffers |
|
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if an System.IO.IOException occurs |