Meilisearch is a powerful, fast, open-source, easy to use, and deploy search engine. Both searching and indexing are highly customizable. Features such as typo-tolerance, filters, sort, and synonyms are provided out-of-the-box.
Package | Version | License |
---|---|---|
meilisearch | v1.11.0 | MIT |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the MeiliSearch 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB MeiliSearch Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "meilisas-meilisearch-10"}' \
"https://api.digitalocean.com/v2/droplets"
Meilisearch droplet works out-of-the-box.
Your Meilisearch instance can be customized and prepared for production with a simple script that will run automatically on your first SSH connection.
To start a new SSH connection with your DigitalOcean Droplet follow the official DigitalOcean guides:
https://www.digitalocean.com/docs/droplets/how-to/connect-with-ssh/
Connect via SSH:
ssh root@your_droplet_public_ipv4
If you want to use your own domain name (or sub-domain), add an A record to your domain name in your domain name provider account. This should work out-of-the-box. Requests to your domain name will be treated automatically by Meilisearch
Meilisearch is running out-of-the-box. It means that at launch you haven’t set an API KEY (anyone can read/write from your Meilisearch) and you can’t use HTTPS. But the configuration process is automated and very simple. Just connect via SSH to your new Meilisearch Droplet and answer a few questions
A script will run automatically by establishing an SSH connection using the ‘root’ user. This script will let you customize several settings for your Meilisearch Droplet, as well as configuring a production environment. If you want to run this script anytime, you can run it again using the command:
meilisearch-setup