Skip to content

Commit faf22ee

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 e2932cd commit faf22ee

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

algoliasearch/src/main/java/com/algolia/model/recommend/OptionalFilters.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
* filters, but they don't exclude records from the search results. Records that match the optional
1919
* filter rank before records that don't match. If you're using a negative filter `facet:-value`,
2020
* matching records rank after records that don't match. - Optional filters don't work on virtual
21-
* replicas. - Optional filters are applied _after_ sort-by attributes. - Optional filters don't
22-
* work with numeric attributes.
21+
* replicas. - Optional filters are applied _after_ sort-by attributes. - Optional filters are
22+
* applied _before_ custom ranking attributes (in the default
23+
* [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/)).
24+
* - Optional filters don't work with numeric attributes.
2325
*/
2426
@JsonDeserialize(using = OptionalFilters.Deserializer.class)
2527
public interface OptionalFilters {

algoliasearch/src/main/java/com/algolia/model/search/OptionalFilters.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
* filters, but they don't exclude records from the search results. Records that match the optional
1919
* filter rank before records that don't match. If you're using a negative filter `facet:-value`,
2020
* matching records rank after records that don't match. - Optional filters don't work on virtual
21-
* replicas. - Optional filters are applied _after_ sort-by attributes. - Optional filters don't
22-
* work with numeric attributes.
21+
* replicas. - Optional filters are applied _after_ sort-by attributes. - Optional filters are
22+
* applied _before_ custom ranking attributes (in the default
23+
* [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/)).
24+
* - Optional filters don't work with numeric attributes.
2325
*/
2426
@JsonDeserialize(using = OptionalFilters.Deserializer.class)
2527
public interface OptionalFilters {

0 commit comments

Comments
 (0)