Skip to content

Commit

Permalink
fix(types): add relevancyStrictness to SearchParameters (algolia/algo…
Browse files Browse the repository at this point in the history
…liasearch-helper-js#810)

* fix(types): add relevancyStrictness to SearchParameters

* Update index.d.ts

Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>

* update comment

Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>
  • Loading branch information
Eunjae Lee and francoischalifour committed Feb 10, 2021
1 parent 7a5bbfd commit 31dbc3b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/algoliasearch-helper/index.d.ts
Expand Up @@ -513,8 +513,8 @@ declare namespace algoliasearchHelper {
queryLanguages?: string[];

/**
* The relevancy threshold to apply to search in a virtual index [0-100]. A Bigger
* value means fewer, but more relevant results, smaller value means more, but
* The relevancy threshold to apply to search in a virtual index [0-100]. A bigger
* value means fewer but more relevant results, a smaller value means more but
* less relevant results.
*/
relevancyStrictness?: number;
Expand Down Expand Up @@ -1110,6 +1110,13 @@ declare namespace algoliasearchHelper {
*/
sortFacetValuesBy?: 'count' | 'alpha';

/**
* The relevancy threshold to apply to search in a virtual index [0-100]. A bigger
* value means fewer but more relevant results, a smaller value means more but
* less relevant results.
*/
relevancyStrictness?: number;

/* end implementation of algoliasearch.QueryParameters */

ruleContexts?: string[];
Expand Down

0 comments on commit 31dbc3b

Please sign in to comment.