tvolk131 / fdr-finder

0 stars 0 forks source link

Add autocomplete support for text search #17

Closed tvolk131 closed 3 years ago

tvolk131 commented 3 years ago

Let's add to the UI so it displays autocomplete suggestions as the user is typing.

For some background, our search system is currently built on top of Sonic. However, Sonic's autocomplete feature only works one word at a time. Because of this, the results lack any context of previous words, making it much less useful. It might be worth looking into switching over to something like ElasticSearch that has a more intelligent autocomplete system.

tvolk131 commented 3 years ago

Sonic-based autocomplete and UI rendering of suggestions were completed in https://github.com/tvolk131/fdr-finder/commit/f43625397e96b31892baba86fdf53c451be64f34 and https://github.com/tvolk131/fdr-finder/commit/2cfbbb452d24254a3a075a99e4a30d75be6d969f respectively. I also created this issue to track the migration from Sonic to Elasticsearch as the search backend.