Context
Currently we at speakerinnen.org are using a homegrown postgres search for searching all the profiles and topics. There are two types of search:
- a quick search (which only searches some fields - fullname, topics, twitter handle) and
- a detailed search (which searches mostly all fields and makes it possible to search specific content in specific fields).
See the search working here: https://speakerinnen.org/en/profiles
Now I want to use elasticsearch to rebuild the search and I already implemented the basic functions of elasticsearch via the elasticsearch-rails gem in this branch: https://github.com/rubymonsters/speakerinnen_liste/tree/zaziemo-elasticsearch
My questions:
What is the best way to build these two search options with elasticsearch? Specificly:
- How to decide on the best approach to realize the two search options via elasticsearch (e.g. create multiple indeces, use different index types)?
- Are there examples of similar approaches?