Client
Client
The cyborg::Client
class manages storage configurations and acts as a factory for creating or loading encrypted indexes.
Constructor
Initializes a new instance of Client
.
Parameters
Parameter | Type | Description |
---|---|---|
index_location | LocationConfig | Configuration for index storage location. |
config_location | LocationConfig | Configuration for index metadata storage. |
items_location | LocationConfig | Configuration intended to be used in a future release. Pass in a LocationConfig with a Location of ‘None’. |
cpu_threads | int | Number of CPU threads to use (e.g., 0 to use all available cores). |
gpu_accelerate | bool | Whether to enable GPU acceleration (requires CUDA). |
Exceptions
Example Usage
Was this page helpful?