@@ -82,11 +82,6 @@ import algoliasearch.recommend.SupportedLanguage._
8282 * Whether to obtain the coordinates from the request's IP address.
8383 * @param minimumAroundRadius
8484 * Minimum radius (in meters) for a search around a location when `aroundRadius` isn't set.
85- * @param insideBoundingBox
86- * Coordinates for a rectangular area in which to search. Each bounding box is defined by the two opposite points of
87- * its diagonal, and expressed as latitude and longitude pair: `[p1 lat, p1 long, p2 lat, p2 long]`. Provide multiple
88- * bounding boxes as nested arrays. For more information, see [rectangular
89- * area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas).
9085 * @param insidePolygon
9186 * Coordinates of a polygon in which to search. Polygons are defined by 3 to 10,000 points. Each point is represented
9287 * by its latitude and longitude. Provide multiple polygons as nested arrays. For more information, see [filtering
@@ -230,6 +225,9 @@ import algoliasearch.recommend.SupportedLanguage._
230225 * `distinct` search parameter to control how many items per group are included in the search results. If you want to
231226 * use the same attribute also for faceting, use the `afterDistinct` modifier of the `attributesForFaceting` setting.
232227 * This applies faceting _after_ deduplication, which will result in accurate facet counts.
228+ * @param maxFacetHits
229+ * Maximum number of facet values to return when [searching for facet
230+ * values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
233231 * @param attributesToRetrieve
234232 * Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the
235233 * attributes. Attribute names are case-sensitive. - `*` retrieves all attributes, except attributes included in the
@@ -314,19 +312,6 @@ import algoliasearch.recommend.SupportedLanguage._
314312 * @param advancedSyntax
315313 * Whether to support phrase matching and excluding words from search queries. Use the `advancedSyntaxFeatures`
316314 * parameter to control which feature is supported.
317- * @param optionalWords
318- * Words that should be considered optional when found in the query. By default, records must match all words in the
319- * search query to be included in the search results. Adding optional words can help to increase the number of search
320- * results by running an additional search query that doesn't include the optional words. For example, if the search
321- * query is \"action video\" and \"video\" is an optional word, the search engine runs two queries. One for \"action
322- * video\" and one for \"action\". Records that match all words are ranked higher. For a search query with 4 or more
323- * words **and** all its words are optional, the number of matched words required for a record to be included in the
324- * search results increases for every 1,000 records: - If `optionalWords` has less than 10 words, the required number
325- * of matched words increases by 1: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 2 matched
326- * words. - If `optionalWords` has 10 or more words, the number of required matched words increases by the number of
327- * optional words divided by 5 (rounded down). For example, with 18 optional words: results 1 to 1,000 require 1
328- * matched word, results 1,001 to 2000 need 4 matched words. For more information, see [Optional
329- * words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
330315 * @param disableExactOnAttributes
331316 * Searchable attributes for which you want to [turn off the Exact ranking
332317 * criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
@@ -366,9 +351,6 @@ import algoliasearch.recommend.SupportedLanguage._
366351 * these properties: `message`, `warning`, `cursor`, `serverUsed`, `indexUsed`, `abTestVariantID`, `parsedQuery`, or
367352 * any property triggered by the `getRankingInfo` parameter. Don't exclude properties that you might need in your
368353 * search UI.
369- * @param maxFacetHits
370- * Maximum number of facet values to return when [searching for facet
371- * values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
372354 * @param maxValuesPerFacet
373355 * Maximum number of facet values to return for each facet.
374356 * @param sortFacetValuesBy
@@ -402,7 +384,7 @@ case class FallbackParams(
402384 aroundRadius : Option [AroundRadius ] = scala.None ,
403385 aroundPrecision : Option [AroundPrecision ] = scala.None ,
404386 minimumAroundRadius : Option [Int ] = scala.None ,
405- insideBoundingBox : Option [Seq [ Seq [ Double ]] ] = scala.None ,
387+ insideBoundingBox : Option [InsideBoundingBox ] = scala.None ,
406388 insidePolygon : Option [Seq [Seq [Double ]]] = scala.None ,
407389 naturalLanguages : Option [Seq [SupportedLanguage ]] = scala.None ,
408390 ruleContexts : Option [Seq [String ]] = scala.None ,
@@ -433,6 +415,7 @@ case class FallbackParams(
433415 userData : Option [Any ] = scala.None ,
434416 customNormalization : Option [Map [String , Map [String , String ]]] = scala.None ,
435417 attributeForDistinct : Option [String ] = scala.None ,
418+ maxFacetHits : Option [Int ] = scala.None ,
436419 attributesToRetrieve : Option [Seq [String ]] = scala.None ,
437420 ranking : Option [Seq [String ]] = scala.None ,
438421 relevancyStrictness : Option [Int ] = scala.None ,
@@ -456,7 +439,7 @@ case class FallbackParams(
456439 queryType : Option [QueryType ] = scala.None ,
457440 removeWordsIfNoResults : Option [RemoveWordsIfNoResults ] = scala.None ,
458441 advancedSyntax : Option [Boolean ] = scala.None ,
459- optionalWords : Option [Seq [ String ] ] = scala.None ,
442+ optionalWords : Option [OptionalWords ] = scala.None ,
460443 disableExactOnAttributes : Option [Seq [String ]] = scala.None ,
461444 exactOnSingleWordQuery : Option [ExactOnSingleWordQuery ] = scala.None ,
462445 alternativesAsExact : Option [Seq [AlternativesAsExact ]] = scala.None ,
@@ -465,7 +448,6 @@ case class FallbackParams(
465448 replaceSynonymsInHighlight : Option [Boolean ] = scala.None ,
466449 minProximity : Option [Int ] = scala.None ,
467450 responseFields : Option [Seq [String ]] = scala.None ,
468- maxFacetHits : Option [Int ] = scala.None ,
469451 maxValuesPerFacet : Option [Int ] = scala.None ,
470452 sortFacetValuesBy : Option [String ] = scala.None ,
471453 attributeCriteriaComputedByMinProximity : Option [Boolean ] = scala.None ,
0 commit comments