# meilisearch

Published articles for meilisearch.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Using MeiliSearch in a Production Rails Environment

DevFeed: [Using MeiliSearch in a Production Rails Environment](<https://devfeed.tech/articles/using-meilisearch-in-a-production-rails-environment-28276.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/rails/2022/05/31/using-meilisearch-in-a-production-rails-environment.html>)

Author: Fuzzygroup

Published: 2022-05-31T11:31:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Rails](<https://devfeed.tech/topics/rails.md>), [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Digital Ocean](<https://devfeed.tech/topics/digital-ocean.md>), [hosting](<https://devfeed.tech/topics/hosting.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Docker](<https://devfeed.tech/topics/docker.md>)

Tags: [deployment](<https://devfeed.tech/tags/deployment.md>), [digitalocean](<https://devfeed.tech/tags/digitalocean.md>), [docker](<https://devfeed.tech/tags/docker.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [meilisearch](<https://devfeed.tech/tags/meilisearch.md>), [production](<https://devfeed.tech/tags/production.md>), [rails](<https://devfeed.tech/tags/rails.md>), [rust](<https://devfeed.tech/tags/rust.md>), [server](<https://devfeed.tech/tags/server.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

A practical guide to installing and configuring MeiliSearch for a production Rails application, covering local development, a multi-server deployment, and communication over MeiliSearch's default port.

### Source excerpt

I recently migrated JobHound from its original hosting (DigitalOcean with a custom Docker based deployer) to a new environment (also DigitalOcean but now with deploys managed via HatchBox). In the traditional spirit of all IT migrations where you both get something good and lose something good, I got: Better Performance Working SSL; I have no idea why it stopped on the old box but it did and wasn't fixable Much better deployment (NO MORE DOCKER!) But I also lost something: ElasticSearch or ES I had implemented ES as a Docker component that was a part of my overall and it really did work beautifully - the simplest installation of ES that I've ever experienced. When I found that I couldn't install ES on my Mac without messing about with the memory allocations because certain memory allocation options aren't available on Open Java platform, I started to get concerned. And then ES just proved to be increasingly byzantine to make work (perhaps this is me). So I was open to new search technologies and I quick perusal of the GoRails screencasts turned me onto MeiliSearch, a relatively new Rust based search engine. I will admit that I have a certain fondness for things written in Rust. If you aren't aware, Rust is a language which a focus on preventing programmer errors. And, in my experience, that tends to produce some really great pieces of software. Getting Started This is the process I used to get MeiliSearch up and running for JobHound. In about 2 hours, I went from never having used MeiliSearch to a fully working installation both locally and on production. In my experience, that kicks the snot out of ElasticSearch. Desired Configuration I'm working on a pretty standard multi box configuration: load balancer worker web1 web2 database My plan was to setup MeiliSearch on the worker box and have that do al the indexing and querying. This means that my web boxes would need to talk to MeiliSearch on the worker box over MeiliSearch's default port of 7700. Note 1: I'm runnin