hopsworks.core.opensearch #
OpensearchRequestOption #
For backwards compatibility hopsworks.core.opensearch.OpensearchRequestOption is still available as hsfs.core.opensearch.OpensearchRequestOption. The use of this alias is discouraged as it is to be deprecated.
Returned by
get_version classmethod #
get_options classmethod #
Construct a map of options for the request to the vector database.
| PARAMETER | DESCRIPTION |
|---|---|
options | The options used for the request to the vector database. The keys are attribute values of the OpensearchRequestOption class. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
dict | A dictionary containing the constructed options map, where keys represent attribute values of the OpensearchRequestOption class, and values are obtained either from the provided options or default values if not available. |