> Comment #24436
I haven't looked at solr too. However, from the top of my head, 2 approaches seem to stand out:
1. Using LIKE queries to search for string prefixes
2. Keep everything in a ternary search tree in memory and make these suggestions very very fast -- assuming that we have a machine with enough memory to keep stuff in memory.
posted by [Old Forum guest] •
8 years and 4 months ago
Keep in Touch
© DuckDuckGo. The search engine that doesn't track you.
Login with Github
Forgot your password?
Don't have an account?
Report this content for:
Attempting to drive traffic to a website by posting off-topic links to a personal/business website.
Insulting or provocative (and not in a good way).
Lewd or offensive language.
Post is entirely unrelated to the topic being discussed.
Post is likely copy/pasted from another website and was meant for blackhat SEO.
Enter your own description of the flagged post.