Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
fix(types): add relevancyStrictness to SearchParameters (#810)
Browse files Browse the repository at this point in the history
* 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 authored Feb 10, 2021
1 parent 097ab82 commit 3860179
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
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 3860179

Please sign in to comment.