diff --git a/src/main/scala/algoliasearch/recommend/AlternativesAsExact.scala b/src/main/scala/algoliasearch/recommend/AlternativesAsExact.scala index da015abc..9de59a1a 100644 --- a/src/main/scala/algoliasearch/recommend/AlternativesAsExact.scala +++ b/src/main/scala/algoliasearch/recommend/AlternativesAsExact.scala @@ -45,7 +45,10 @@ object AlternativesAsExact { case object MultiWordsSynonym extends AlternativesAsExact { override def toString = "multiWordsSynonym" } - val values: Seq[AlternativesAsExact] = Seq(IgnorePlurals, SingleWordSynonym, MultiWordsSynonym) + case object IgnoreConjugations extends AlternativesAsExact { + override def toString = "ignoreConjugations" + } + val values: Seq[AlternativesAsExact] = Seq(IgnorePlurals, SingleWordSynonym, MultiWordsSynonym, IgnoreConjugations) def withName(name: String): AlternativesAsExact = AlternativesAsExact.values .find(_.toString == name) diff --git a/src/main/scala/algoliasearch/search/AlternativesAsExact.scala b/src/main/scala/algoliasearch/search/AlternativesAsExact.scala index 2e51d03a..affa7bf8 100644 --- a/src/main/scala/algoliasearch/search/AlternativesAsExact.scala +++ b/src/main/scala/algoliasearch/search/AlternativesAsExact.scala @@ -49,7 +49,10 @@ object AlternativesAsExact { case object MultiWordsSynonym extends AlternativesAsExact { override def toString = "multiWordsSynonym" } - val values: Seq[AlternativesAsExact] = Seq(IgnorePlurals, SingleWordSynonym, MultiWordsSynonym) + case object IgnoreConjugations extends AlternativesAsExact { + override def toString = "ignoreConjugations" + } + val values: Seq[AlternativesAsExact] = Seq(IgnorePlurals, SingleWordSynonym, MultiWordsSynonym, IgnoreConjugations) def withName(name: String): AlternativesAsExact = AlternativesAsExact.values .find(_.toString == name)