Closed PupilTong closed 1 year ago
i hava the same trubbel
Yeah, me to! I think configuring locale
via environment variables would be very simple solution. Similar to providing host, port and rest parameters for typesesne client.
@jasonbosco, I can make a PR if you agree with this solution.
@Markeli Great idea! I was thinking of a more complicated solution, but yours is much simpler. A PR would be great!
@jasonbosco, I've made a PR.
Thanks @Markeli! Just merged it in.
@jasonbosco, could you, please, push new image of scrapper to dockerhub?
@Markeli Done.
Description
Related Issue: https://github.com/typesense/typesense/issues/267
Related Code: https://github.com/typesense/typesense-docsearch-scraper/blob/a005d7a8bbd45bd71fd3895024f05663e9f797c6/scraper/src/typesense_helper.py#L34-L53
The scraper doesn't set the
locale
property on creating fields, which makes chinese words searching doesn't work as expected.Steps to reproduce
just run the scraper and typesense docker image 0.23.1