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 #22

Open
probably-not-a-cat opened this issue Jun 1, 2016 · 1 comment
Open

Autocomplete #22

probably-not-a-cat opened this issue Jun 1, 2016 · 1 comment

Comments

@probably-not-a-cat
Copy link
Contributor

Helping users correctly spell information would help them search faster (no typos) and helps avoid typos from going into the database.

@brehaut
Copy link

brehaut commented Jun 3, 2016

Front end team member here: I'm looking at the implementation we'll use in the UI to manage autocomplete. Ideally we want this to be as snappy as possible so I'm going to set up a client side database to cache the autocomplete information as it comes past. I'd also like to get a package of most common data to prime it when the user first loads the app.

I'm going to use double metaphone and a stopwords list on the client to do fuzzy matching, but I also want to have synonyms so that we can that say an enemy tag is 'illithid', and the user types 'mind' we can autocomplete with 'illithid (mindflayer)' and have the resulting query normalized before it hits the back end.

It will also help for the front end to have the facet that a given value relates to.

I am unsure (currently) if the stop words list will be static or if we will want to pull it down from the database as well.

The frontend task most directly related to this from the backend task is Search middleware skeleton (#4).

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

2 participants