Open klokan opened 7 years ago
Sample query: ялча
http://search.osmnames.org/q/%D1%8F%D0%BB%D1%87%D0%B0.js
Reported by @komzpa at https://twitter.com/komzpa/status/783722445228351488
The CORS is not a problem (I see the Access-Control-Allow-Origin: * header).
Access-Control-Allow-Origin: *
The problem is probably status code 400 BAD REQUEST - returned by Flask for some reason.
It may be also related to required improvement of Unicode charset indexing, where we need to improve Sphinx search config. See #20
It can be solved by applying unidecode on the index #20 as well as the query.
unidecode
Sample query: ялча
http://search.osmnames.org/q/%D1%8F%D0%BB%D1%87%D0%B0.js
Reported by @komzpa at https://twitter.com/komzpa/status/783722445228351488
The CORS is not a problem (I see the
Access-Control-Allow-Origin: *
header).The problem is probably status code 400 BAD REQUEST - returned by Flask for some reason.
It may be also related to required improvement of Unicode charset indexing, where we need to improve Sphinx search config. See #20