Search network node events
Leave feedback
This page contains information about the purpose and use of all search network events.
The ConfigurationCompleted event occurs when the search network configuration process is finished.
The IndexingCompleted event occurs when indexing of all enqueued documents is finished.
The DeletionCompleted event occurs when all enqueued deletions of documents are finished.
The OptimizationCompleted event occurs when optimization of all nodes is finished.
The SynchronizationCompleted event occurs when synchronization with all nodes is finished.
The AttributeChangesCompleted event occurs when all enqueued attribute changes are finished.
The StatusChanged event occurs when the search network status changes.
The DataExtracted event occurs when the data has been extracted from a document.
The DocumentIndexed event occurs when a document has been indexed.
The DocumentDeleted event occurs when a document has been deleted.
The ErrorOccurred event occurs when an error occurs in one of the nodes of the search network.
The IndexingProgressChanged event occurs when the progress of the indexing operation has changed.
The OptimizationProgressChanged event occurs when the progress of the optimization operation has changed.
C#
node.Events.IndexingCompleted += (s, e) =>
{
Console.WriteLine("Indexing complete");
};
node.Events.DeletionCompleted += (s, e) =>
{
Console.WriteLine("Deleting complete");
};
node.Events.OptimizationCompleted += (s, e) =>
{
Console.WriteLine("Optimization complete");
};
node.Events.SynchronizationCompleted += (s, e) =>
{
Console.WriteLine("Synchronization complete");
};
node.Events.AttributeChangesCompleted += (s, e) =>
{
Console.WriteLine("Attribute changes complete");
};
node.Events.StatusChanged += (s, e) =>
{
Console.WriteLine("Status changed: " + e.OldStatus + " -> " + e.NewStatus);
};
node.Events.DataExtracted += (s, e) =>
{
Console.WriteLine("Data extracted (" + e.ExtractorIndex + "): " + e.DocumentKey);
};
node.Events.DocumentIndexed += (s, e) =>
{
Console.WriteLine("Document indexed (" + e.ShardIndex + "): " + e.DocumentKey);
};
node.Events.DocumentDeleted += (s, e) =>
{
Console.WriteLine("Document deleted (" + e.ShardIndex + "): " + e.DocumentKey);
};
node.Events.ErrorOccurred += (s, e) =>
{
Console.WriteLine("Error occurred (" + e.NodeIndex + ", " + e.ServiceIndex + "): " + e.Message);
};
node.Events.IndexingProgressChanged += (s, e) =>
{
Console.WriteLine("Indexing progress changed (" + e.NodeIndex + ", " + e.ServiceIndex + "): " + e.ProgressPercentage);
};
node.Events.OptimizationProgressChanged += (s, e) =>
{
Console.WriteLine("Optimization progress changed (" + e.NodeIndex + ", " + e.ServiceIndex + "): " + e.ProgressPercentage);
};
You may easily run the code from documentation articles and see the features in action in our GitHub examples:
Along with full featured .NET library we provide simple, but powerful free Apps.
You are welcome to search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free online Free Online Document Search App.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.