Add full-text search to mastodon
The full-text search feature is enabled by providing a single-node elasticsearch instance.
When introducing this feature to existing instances run the following two commands after the configuration change is applied.
RAILS_ENV=production bundle exec rake chewy:upgrade
RAILS_ENV=production bundle exec rake chewy:sync
Built on top of following documentations:
https://www.elastic.co/guide/en/elasticsearch/reference/7.5/docker.html