SearchNetworkNode

SearchNetworkNode class

Represents a search network node that can contain services such as extractor, indexer, searcher, shard.

public class SearchNetworkNode : IDisposable

Constructors

Name Description
SearchNetworkNode(int, string, INetworkSettings) Initializes a new instance of the SearchNetworkNode class.
SearchNetworkNode(int, string, INetworkSettings, ILogger) Initializes a new instance of the SearchNetworkNode class.
SearchNetworkNode(int, string, INetworkSettings, ILogger, Configuration) Initializes a new instance of the SearchNetworkNode class.

Properties

Name Description
CustomExtractors { get; } Gets the custom extractor collection.
Events { get; } Gets the event hub for subscribing to events.
Indexer { get; } Gets the indexer.
NodeIndex { get; } Gets the index of the search network node.
Searcher { get; } Gets the searcher.

Methods

Name Description
ConfigureAllNodes() Configures all nodes in the search network.
ConfigureNode(int) Configures the specified node in the search network.
Dispose() Releases all resources used by the SearchNetworkNode.
GetNodeIndex(int) Gets the index of the node where the service is located.
GetShardIndices() Gets an array of all shard indices in the search network.
SetOcrConnector(IOcrConnector) Sets an OCR connector that is used for OCR processing.
SetWordFormsProvider(IWordFormsProvider) Sets a word forms provider.
Start() Starts the functioning of the search network node.

See Also