Skip to content

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Aug 21, 2025

🧭 What and Why

🎟 JIRA Ticket: CR-9310

Add the getVersion query parameter to getSettings.
This was removed in https://github.com/algolia/doc/pull/7793, but is still useful for the Dashboard.

Original description of this parameter:

#### Backward compatibility

Synonyms were originally set via the index settings,
and a [Get settings](#get-settings) call would return all synonyms as part of the settings JSON data.

This behavior is still available to maintain backward compatibility.
If you don't want to include synonyms in your settings, add `getVersion=2` to your request as a query parameter:

`GET /1/indexes/{indexName}/settings?getVersion=2`

Until you switch to this new Synonyms API, you can still manage your synonyms via the index settings.

@millotp millotp self-assigned this Aug 21, 2025
@millotp millotp requested a review from a team as a code owner August 21, 2025 14:14
@millotp millotp requested review from Fluf22 and morganleroi August 21, 2025 14:14
@algolia-bot
Copy link
Collaborator

algolia-bot commented Aug 21, 2025

✔️ Code generated!

Name Link
🪓 Triggered by f0c961dd08fafdc57d7c75950002ea5c83381d4e
🍃 Generated commit 512e14ea6fd8c8baa8560092e19958fc48c29fb9
🌲 Generated branch generated/fix/get-version
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
go 1730
javascript 1672
php 1504
csharp 1260
python 1156
java 1022
ruby 797
swift 702
scala 23

Copy link
Contributor

@Fluf22 Fluf22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆗

@millotp millotp merged commit 08e9d18 into main Sep 1, 2025
30 checks passed
@millotp millotp deleted the fix/get-version branch September 1, 2025 08:40
algolia-bot added a commit that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-csharp that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-dart that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-kotlin that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-python that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-scala that referenced this pull request Sep 1, 2025
algolia-bot added a commit to algolia/algoliasearch-client-swift that referenced this pull request Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants