algolia / algoliasearch-client-csharp

⚡️ A fully-featured and blazing-fast C# API client to interact with Algolia.
https://www.algolia.com/doc/api-client/getting-started/install/csharp/
MIT License
120 stars 61 forks source link

fix: multi indices search serialization #841

Closed morganleroi closed 1 year ago

morganleroi commented 1 year ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue ---
Need Doc update no

Describe your change

Algolia Search API for MultiQuery (/1/indexes/*/queries) accepts query parameters as a url-encoded string or directly by serializing the Query object. This PR add the option to use the Query serialization instead of the url-encoded.

What problem is this fixing?

The url-encoded query parameter do not work correctly for geo-location property and CustomParameters.