public class SearchNetworkNode extends Object implements Closeable
| Modifier | Constructor and Description |
|---|---|
protected |
SearchNetworkNode()
Initializes a new instance of the
SearchNetworkNode class. |
|
SearchNetworkNode(int nodeIndex,
String storagePath,
INetworkSettings networkSettings)
Initializes a new instance of the
SearchNetworkNode class. |
|
SearchNetworkNode(int nodeIndex,
String storagePath,
INetworkSettings networkSettings,
ILogger logger)
Initializes a new instance of the
SearchNetworkNode class. |
|
SearchNetworkNode(int nodeIndex,
String storagePath,
INetworkSettings networkSettings,
ILogger logger,
Configuration configuration)
Initializes a new instance of the
SearchNetworkNode class. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases all resources used by the
SearchNetworkNode. |
void |
configureAllNodes()
Configures all nodes in the search network.
|
void |
configureNode(int nodeIndex)
Configures the specified node in the search network.
|
Object |
getCore() |
CustomExtractorCollection |
getCustomExtractors()
Gets the custom extractor collection.
|
NodeEventHub |
getEvents()
Gets the event hub for subscribing to events.
|
Indexer |
getIndexer()
Gets the indexer.
|
int |
getNodeIndex()
Gets the index of the search network node.
|
int |
getNodeIndex(int serviceIndex)
Gets the index of the node where the service is located.
|
Searcher |
getSearcher()
Gets the searcher.
|
int[] |
getShardIndices()
Gets an array of all shard indices in the search network.
|
void |
setOcrConnector(IOcrConnector ocrConnector)
Sets an OCR connector that is used for OCR processing.
|
void |
setWordFormsProvider(IWordFormsProvider wordFormsProvider)
Sets a word forms provider.
|
void |
start()
Starts the functioning of the search network node.
|
protected SearchNetworkNode()
SearchNetworkNode class.public SearchNetworkNode(int nodeIndex,
String storagePath,
INetworkSettings networkSettings)
SearchNetworkNode class.nodeIndex - The node index.storagePath - The storage path.networkSettings - The network settings.public SearchNetworkNode(int nodeIndex,
String storagePath,
INetworkSettings networkSettings,
ILogger logger)
SearchNetworkNode class.nodeIndex - The node index.storagePath - The storage path.networkSettings - The network settings.logger - The logger.public SearchNetworkNode(int nodeIndex,
String storagePath,
INetworkSettings networkSettings,
ILogger logger,
Configuration configuration)
SearchNetworkNode class.nodeIndex - The node index.storagePath - The storage path.networkSettings - The network settings.logger - The logger.configuration - The configuration.public void close()
SearchNetworkNode.close in interface Closeableclose in interface AutoCloseablepublic void configureAllNodes()
public void configureNode(int nodeIndex)
nodeIndex - The node index.public Object getCore()
public CustomExtractorCollection getCustomExtractors()
GroupDocs.Search.Common.IFieldExtractor interface.public NodeEventHub getEvents()
public Indexer getIndexer()
public int getNodeIndex()
public int getNodeIndex(int serviceIndex)
serviceIndex - The service index.public Searcher getSearcher()
public int[] getShardIndices()
public void setOcrConnector(IOcrConnector ocrConnector)
ocrConnector - The OCR connector.public void setWordFormsProvider(IWordFormsProvider wordFormsProvider)
wordFormsProvider - The word forms provider.public void start()
Copyright © 2026. All rights reserved.