From 0e34a8e4764d3f0951913a2aae755d9498f3d4cb Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Wed, 11 Dec 2024 21:56:27 +0000 Subject: [PATCH] fix(specs): add `ignoreConjugations` to `AlternativesAsExact` [skip-bc] (generated) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/algolia/api-clients-automation/pull/4230 Co-authored-by: algolia-bot Co-authored-by: Clément Vannicatte --- lib/algolia/models/recommend/alternatives_as_exact.rb | 3 ++- lib/algolia/models/search/alternatives_as_exact.rb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/algolia/models/recommend/alternatives_as_exact.rb b/lib/algolia/models/recommend/alternatives_as_exact.rb index 1847bfc7..5e5b9145 100644 --- a/lib/algolia/models/recommend/alternatives_as_exact.rb +++ b/lib/algolia/models/recommend/alternatives_as_exact.rb @@ -9,9 +9,10 @@ class AlternativesAsExact IGNORE_PLURALS = "ignorePlurals".freeze SINGLE_WORD_SYNONYM = "singleWordSynonym".freeze MULTI_WORDS_SYNONYM = "multiWordsSynonym".freeze + IGNORE_CONJUGATIONS = "ignoreConjugations".freeze def self.all_vars - @all_vars ||= [IGNORE_PLURALS, SINGLE_WORD_SYNONYM, MULTI_WORDS_SYNONYM].freeze + @all_vars ||= [IGNORE_PLURALS, SINGLE_WORD_SYNONYM, MULTI_WORDS_SYNONYM, IGNORE_CONJUGATIONS].freeze end # Builds the enum from string diff --git a/lib/algolia/models/search/alternatives_as_exact.rb b/lib/algolia/models/search/alternatives_as_exact.rb index dd8f0e38..09436122 100644 --- a/lib/algolia/models/search/alternatives_as_exact.rb +++ b/lib/algolia/models/search/alternatives_as_exact.rb @@ -9,9 +9,10 @@ class AlternativesAsExact IGNORE_PLURALS = "ignorePlurals".freeze SINGLE_WORD_SYNONYM = "singleWordSynonym".freeze MULTI_WORDS_SYNONYM = "multiWordsSynonym".freeze + IGNORE_CONJUGATIONS = "ignoreConjugations".freeze def self.all_vars - @all_vars ||= [IGNORE_PLURALS, SINGLE_WORD_SYNONYM, MULTI_WORDS_SYNONYM].freeze + @all_vars ||= [IGNORE_PLURALS, SINGLE_WORD_SYNONYM, MULTI_WORDS_SYNONYM, IGNORE_CONJUGATIONS].freeze end # Builds the enum from string