algolia / algoliasearch-client-python

⚡️ A fully-featured and blazing-fast Python API client to interact with Algolia.
https://www.algolia.com/doc/api-client/getting-started/install/python/?language=python
MIT License
196 stars 66 forks source link

Ensure correct serialization of searchSynonyms' type query parameter #474

Closed aseure closed 4 years ago

aseure commented 4 years ago

When performing a index.searchSynonyms() call, a type query parameter can be passed to restrict the type(s) of synonyms one wants to search for.

@maxiloc reported us that the Java implementation is accepting an array of strings for this parameter. However, the engine only accepts a comma-separated string for this. We then need to double check the implementation of the serialization of this parameter and provide a fix if needed.

nunomaduro commented 4 years ago

The Python API client don't have those types.