I've read almost every Elasticsearch documentation on suggesters, and I have yet to find what I'm looking for. Is there any way I can mimic a Google-like typeahead search?
My potential plan is to try these steps:
- create a separate index just to record all possible searches that users perform on my site and store them into the index with date, time, input
- delete content after a month to maintain reasonable storage and relevance
- within my search bar,i want to be able to search the content of my files AS WELL AS everyone else's searches that seem relevant and possibly boosting certain results
Has anyone tried this? Does anyone see a setback for this - in terms of memory/security/performance/etc?
P.S. I do not want Results Suggest (results with top hits). I want Search Suggest (what others have been searching for).
Thanks in advance!
