Skip to content

Complete synonym documentation #3594

Description

@CaroFG

Several synonym behaviors are currently undocumented:

  • Typo tolerance does not apply to synonym lookup: if San Francisco => SF is configured, a misspelled query like San Franciso will not return documents containing SF
  • A large number of synonyms can impact search performance. See Slack conversation (internal link)
  • Synonym matching is limited to queries of 3 words or fewer. For example, the synonym S.W.A.T. => swat is ignored by default because S.W.A.T. is tokenized as 4 separate terms. 👉 Adding S.W.A.T. to the dictionary setting causes it to be treated as a single token, making the synonym work as expected. This is partially covered by an open PR Update synonyms documentation for Meilisearch #3579 , but it doesn't mention that the dictionary setting can help in some cases (like for acronyms with punctuation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions