New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Weird" search live completion result order? #8
Comments
This is not intended. The scoring used here is I assume https://github.com/karlb/wikdict-web/issues/9 has the same underlying reason. |
Okay, nice.
Looking forward to that.
I have a feeling that there is a hardcoded limit saying "words of length 3 are too short" as well. True? |
The bad join condition led to null values in places where we should have results. This impacts karlb/wikdict-web#8.
Three letters should be sufficient, but words shorter than that won't get completed. After three letters, a completion list for words starting with these letters is fetched and used as the user continues typing. This reduces latency while typing and is more cacheable than doing a request after each letter. |
With 3bd80b5 applied I get this: Cool! 🎉 Any chance you could re-deploy production from |
Done, see also today's blog post. |
@karlb https://www.wikdict.com/en-es/ is still putting "gato" after "Gato Risón", even after forced reload. Am I missing something? |
Chromium seems fine, but it's still broken in Firefox. Turns out that the https://www.wikdict.com/typeahead/en-es/gat response is cached, will only expire ~30 minutes from now, and forced reload is being ignored on that resource. Oh my 😃 So I guess it will work fine from 16:00 UTC+1 then… |
Works in Firefox now as expected 👍 |
When switching to Spanish+English and typing "gato" (for animal cat in Spanish), I see this:
What's surprising here is that:
Is that known and intended?
The text was updated successfully, but these errors were encountered: