load method
Leave feedback
On this page
Loads a search network configuration from a file.
def load(cls, file_path):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | str |
The file to load from. |
Returns: The configuration.
from groupdocs.search.scaling.configuring import Configuration
base_path = "./SearchNetwork/"
configuration = Configuration.load(base_path + "Configuration.xml")
Loads a search network configuration from a stream.
def load(cls, stream):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase |
The stream to load from. |
Returns: Configuration: The configuration.
These names call load too, limited to the overloads listed.
| Alias | Accepts |
|---|---|
load_file |
load_file(file_path) |
load_string |
load_string(file_path) |
load_stream |
load_stream(stream) |
load_streams |
load_streams(stream) |
- class
Configuration
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.