Skip to content

Add support for rankingScoreThreshold #1315

@Strift

Description

@Strift

Description

Allow overriding the rankingScoreThreshold search parameter when making requests.

Basic example

const { searchClient } = instantMeiliSearch(
  process.env.NEXT_PUBLIC_MEILISEARCH_HOST as string,
  process.env.NEXT_PUBLIC_MEILISEARCH_API_KEY,
  {
    primaryKey: 'id',
    meiliSearchParams: {
      rankingScoreThreshold: 0.5
    }
  }
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions