While creating Tutor Portal for Week 6 of the 20/20 Challenge, one of the most important facets of the application was search. Tutors, clients, and directors had to be able to easily search through their records and find the information they were looking for easily based on date or information about that specific client.
For example, if an admin was searching for a client, and put the student's name instead, I still wanted that client to show up. Most importantly, I wanted a scalable solution that could not only add more capabilities, but could also handle large amounts of segmented data.
In this nerd note, I outline how to set up Elasticsearch and searchkick in Rails and common use cases in many applications.