Skip to content

Commit aa60809

Browse files
algolia-botkai687shortcuts
committed
fix(specs): optionalFilters additional explanation [skip-bc] (generated)
algolia/api-clients-automation#4353 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent 49d7bb8 commit aa60809

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Sources/Recommend/Models/RecommendOptionalFilters.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import Foundation
1010
/// don't exclude records from the search results. Records that match the optional filter rank before records that don't
1111
/// match. If you're using a negative filter `facet:-value`, matching records rank after records that don't match. -
1212
/// Optional filters don't work on virtual replicas. - Optional filters are applied _after_ sort-by attributes. -
13+
/// Optional filters are applied _before_ custom ranking attributes (in the default
14+
/// [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/)). -
1315
/// Optional filters don't work with numeric attributes.
1416
public enum RecommendOptionalFilters: Codable, JSONEncodable, AbstractEncodable {
1517
case arrayOfRecommendOptionalFilters([RecommendOptionalFilters])

Sources/Search/Models/SearchOptionalFilters.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import Foundation
1010
/// don't exclude records from the search results. Records that match the optional filter rank before records that don't
1111
/// match. If you're using a negative filter `facet:-value`, matching records rank after records that don't match. -
1212
/// Optional filters don't work on virtual replicas. - Optional filters are applied _after_ sort-by attributes. -
13+
/// Optional filters are applied _before_ custom ranking attributes (in the default
14+
/// [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/)). -
1315
/// Optional filters don't work with numeric attributes.
1416
public enum SearchOptionalFilters: Codable, JSONEncodable, AbstractEncodable {
1517
case arrayOfSearchOptionalFilters([SearchOptionalFilters])

0 commit comments

Comments
 (0)