Skip to content

Commit fe36262

Browse files
algolia-botNixFrog
andcommitted
docs(SearchParams): Document that filter scores are supported in virtual replicas (generated)
algolia/api-clients-automation#5716 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Bertrand Le Mée <[email protected]>
1 parent 65cc2e4 commit fe36262

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@
1717
* Filters to promote or demote records in the search results. Optional filters work like facet
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`,
20-
* 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 are
22-
* applied _before_ custom ranking attributes (in the default
20+
* matching records rank after records that don't match. - Optional filters are applied _after_
21+
* sort-by attributes. - Optional filters are applied _before_ custom ranking attributes (in the
22+
* default
2323
* [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).
24-
* - Optional filters don't work with numeric attributes.
24+
* - Optional filters don't work with numeric attributes. - On virtual replicas, optional filters
25+
* are applied _after_ the replica's [relevant
26+
* sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).
2527
*/
2628
@JsonDeserialize(using = OptionalFilters.Deserializer.class)
2729
public interface OptionalFilters {

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@
1717
* Filters to promote or demote records in the search results. Optional filters work like facet
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`,
20-
* 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 are
22-
* applied _before_ custom ranking attributes (in the default
20+
* matching records rank after records that don't match. - Optional filters are applied _after_
21+
* sort-by attributes. - Optional filters are applied _before_ custom ranking attributes (in the
22+
* default
2323
* [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).
24-
* - Optional filters don't work with numeric attributes.
24+
* - Optional filters don't work with numeric attributes. - On virtual replicas, optional filters
25+
* are applied _after_ the replica's [relevant
26+
* sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).
2527
*/
2628
@JsonDeserialize(using = OptionalFilters.Deserializer.class)
2729
public interface OptionalFilters {

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@
1717
* Filters to promote or demote records in the search results. Optional filters work like facet
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`,
20-
* 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 are
22-
* applied _before_ custom ranking attributes (in the default
20+
* matching records rank after records that don't match. - Optional filters are applied _after_
21+
* sort-by attributes. - Optional filters are applied _before_ custom ranking attributes (in the
22+
* default
2323
* [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).
24-
* - Optional filters don't work with numeric attributes.
24+
* - Optional filters don't work with numeric attributes. - On virtual replicas, optional filters
25+
* are applied _after_ the replica's [relevant
26+
* sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).
2527
*/
2628
@JsonDeserialize(using = OptionalFilters.Deserializer.class)
2729
public interface OptionalFilters {

0 commit comments

Comments
 (0)