Skip to content

Pagefind: Understanding behavior with accented characters #980

@BouzelatTarek

Description

@BouzelatTarek

Hello,

When searching for terms containing accented characters, the playground returns correct results while the UI does not.

Example:

  • Search for “père” in both the playground and the UI:
    The playground finds all relevant results, while the UI stops interpreting the query at the first letter “p" and only returns results containing “p”, not “père”.

Both use the same configuration: :

ranking: {
      termFrequency: 1.0,
      termSimilarity: 8.0,
      pageLength: 0.0,
      termSaturation: 1.4,
      },

playground : https://rdf.archives-nationales.culture.gouv.fr/garance/pagefind/playground/
UI : https://rdf.archives-nationales.culture.gouv.fr/garance/pages/fr/search/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions