Skip to content
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

Autocomplete not working in front page example #27

Open
jmcarbo opened this issue Aug 31, 2020 · 1 comment
Open

Autocomplete not working in front page example #27

jmcarbo opened this issue Aug 31, 2020 · 1 comment

Comments

@jmcarbo
Copy link

jmcarbo commented Aug 31, 2020

For autocomplete to work on front page example model threshold should be 0.

model.SetThreshold(0)
@jmcarbo
Copy link
Author

jmcarbo commented Aug 31, 2020

Best to change in updateSuffixArr and Autocomplete functions

 if (count.Corpus > model.Threshold) || (count.Query > 0) { // TODO: query threshold?

into

 if (count.Corpus >= model.Threshold) || (count.Query > 0) { // TODO: query threshold?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant