Open it763 opened 1 year ago
This requires tweaking the Typesense schema generated by typesense-docsearch-scraper to include a locale: xyz
parameter to each field definition here: https://github.com/typesense/typesense-docsearch-scraper/blob/a005d7a8bbd45bd71fd3895024f05663e9f797c6/scraper/src/typesense_helper.py#L36-L51
So you would have to fork the scraper, and change the field definition to for eg:
{'name': 'hierarchy.lvl0', 'type': 'string', 'facet': True, 'optional': True, 'locale': 'ro'},
Description
Case sensitive when searching in Cyrillic.
Steps to reproduce
Go to Search field, type keyword, for example in cyryllic - пример. After type same keyword in uppercase (ПРИМЕР).
Expected Behavior
Search resulst are equal
Actual Behavior
Search resulst are not equal
Metadata
Typesense Version: typesense:0.24.0 Docusaurus Version: 2.2.0 docusaurus-theme-search-typesense Version: 0.8.0