Meilisearch

Databases Cloud Server Made by Meilisearch

Search engine for sites and apps

Install

Plan

s-1vcpu-2gbSmallest that fits

1 vCPU · 2 GB RAM · 32 GB NVMe

฿229/mo

Settings

Timezone

Meilisearch 1.58, the official release. It runs as a system service that starts when the server boots. Uninstalling it deletes Meilisearch and its data.

After you press Install

  1. Check the price, accept the terms

    In the console

  2. Press Create server and install

    The server is created and billing starts

  3. Connect

    From outside on the public IP, or a program on the server

Connection and data

Who can connect
Connect from outside on the server’s public IP, from the IPs you allow (yours to start with). The key is made for you and the connection is encrypted with TLS.
From outside
In the console after installinghttps://SERVER_IP:7700
Key
Made on the server when it is installed. Shown in the console.
If you change it
If you changed the key inside Meilisearch, the one shown is out of date.
Who can read it
Anyone with access to this server, coding agents included, can read this key.
Data
Data is on this server’s disk and is not backed up automatically. Deleting the server deletes it.
Other apps on the server
Other apps on this server can run commands, so they can read, change or delete the data in Meilisearch. Use separate servers for important data.

Terms and costs

  • You read and accept the terms of Meilisearch before you confirm.
  • XVer bills only the server, not app accounts or their usage.

Read the terms of Meilisearch (opens in a new tab)

Full statement

XVer is not the developer or agent of Meilisearch, and Meilisearch does not endorse this service. You chose to install Meilisearch and use it under the terms of Meilisearch. You run the database and back up its data yourself. Names and logos are trademarks of their owners.

How to access

From outside

Connect from a program on your computer over the public IP, from the IPs you allow, encrypted with TLS.

  1. Show the key in the console after installing

    To start with, connections are accepted from your IP

  2. Put this address in your program

    https://SERVER_IP:7700

Replace SERVER_IP with your server’s IP

SSH tunnel

For when connections from outside are off. Connect from your computer through an SSH tunnel.

  1. Open an SSH tunnel in a terminal on your computer and leave it running

    With the same password or key you use for the server

    ssh -N -L 7700:127.0.0.1:7700 xver@SERVER_IP
  2. Connect from another window

    Paste the key from the console and press Enter. It is not shown on screen.

    IFS= read -rs K; printf 'Authorization: Bearer %s\n' "$K" | curl -sS -H @- http://127.0.0.1:7700/indexes; unset K

Replace SERVER_IP with your server’s IP

Programs on the same server connect to 127.0.0.1 directly, without a tunnel.

Web terminal

Opens in the browser.

  1. Open the server in my.xver.cloud

  2. Press Web terminal

    No server password

The owner and members who can manage the project can open it.

SSH

From a terminal on your computer, with a password or a key.

  1. Connect over SSH

    ssh xver@SERVER_IP

Replace SERVER_IP with your server’s IP

1 copy the SSH command 2 show the password (sample data, console in Thai)

Web console

For when the web terminal or SSH does not open. Needs the server’s password.

  1. Open the server in my.xver.cloud

    The user name and password are under the Access tab

  2. Press the arrow next to Web terminal and choose Web console

  3. Type the user name and password

A server with only an SSH key has no password: use SSH.

Images

  • Search as you type, even with typos
  • Search over the HTTP API with filters and sorting
  • 1 copy the SSH command 2 show the password (sample data, console in Thai)

Screenshots taken by XVer

On this page
  1. What it does
  2. Who it's for
  3. What you need
  4. How to install
  5. What is on the server
  6. Use Meilisearch for the first time
  7. Who can get in
  8. Change passwords and keys
  9. Back up your data
  10. Remove the app
  11. What it costs
  12. Safety
  13. Frequently asked questions

Meilisearch screenshots

  • Search as you type, even with typos
  • Search over the HTTP API with filters and sorting

Screenshots taken by XVer

Meilisearch is an open-source search engine for sites and apps: send it documents as JSON and search them through its API right away. It is developed by Meili, a company based in France.

What it does#

Task How Meilisearch does it
Search as you type Results update with every letter. Its docs say each query answers in under 50 milliseconds
Forgives typos Type botle and still find bottle, with nothing to set up
Searches Thai Splits Thai text into words with a dictionary, so text without spaces is still found
Filters and sorts Filter by category, price or date, show counts per category (facets), and sort by a field you choose
Splits access with keys A search key can only search, an admin key can add and change data, and the master key only manages other keys

Developer site: meilisearch.com (opens in a new tab) · Source code: GitHub (opens in a new tab)

Who it's for#

  • Online shops that want customers to find products even with typos or half-typed words
  • Documentation sites, blogs and knowledge bases that need a better search box than SQL LIKE
  • Developers who need Thai text search in their own app without running a complex search system
  • People whose main data already lives in another database and who send a copy to Meilisearch for search

What you need#

Item Details
Account None
Smallest size 1 vCPU, RAM 2 GB, NVMe disk 32 GB, Bandwidth 2 TB
On your computer curl in a macOS or Linux terminal. On Windows, use WSL. An SSH client too if you use an SSH tunnel

How to install#

  1. Press Install Meilisearch on this page
  2. Sign in to XVer, then check the plan and the price
  3. Choose how you get into the server: a password or an SSH key
  4. Read the Meilisearch terms and tick the box to accept them
  5. Press Create server and install. The server is created and billing starts after this step

When it is installed, the master key is on the install page in the console. Show it when you need it.

What is on the server#

Item Details
System Ubuntu 26.04, user xver with sudo
Meilisearch Meilisearch 1.58 Community Edition in production mode: every request needs a key
Keys The master key from the console, plus default keys Meilisearch makes, such as the Default Search API Key and the Default Admin API Key
Ports open to the internet Port 7700, HTTPS only from the IPs you allow
Runs in the background Meilisearch runs all the time and starts when the server boots

Use Meilisearch for the first time#

From your computer#

Meilisearch takes outside connections at https://SERVER_IP:7700 from the IPs you allow. At first that is only your own IP. You can add more in the console. Every request sends a key in the Authorization: Bearer header. The certificate is made on the server, so your client has to skip certificate checks. That is why the commands on this page give curl the -k option.

Run this command on your computer. It waits silently: paste the master key from the console and press Enter. The key is not shown on screen and stays out of your command history.

On your computer
IFS= read -rs K; printf 'Authorization: Bearer %s\n' "$K" | curl -ksS -H @- https://SERVER_IP:7700/indexes; unset K

When it works: you see JSON with "results":[], which means there is no index yet. invalid_api_key means the key is wrong.

Through an SSH tunnel#

If you keep outside connections off, an SSH tunnel carries port 7700 on your computer to the server. This step needs SSH. The web terminal cannot do it. Open a terminal and leave the window open. After the password, a still screen is normal.

On your computer
ssh -N -L 7700:127.0.0.1:7700 xver@SERVER_IP

While the tunnel is running, the commands on this page work the same way: change https://SERVER_IP:7700 to http://127.0.0.1:7700 and drop -k.

Find the keys for your apps#

The master key is for managing other keys only. The Meilisearch docs warn against using it to search or add data. Run this command and paste the master key to list every key.

On your computer
IFS= read -rs K; printf 'Authorization: Bearer %s\n' "$K" | curl -ksS -H @- https://SERVER_IP:7700/keys; unset K
Key What it is for
Default Search API Key Searching only
Default Admin API Key Adding, changing and deleting documents and index settings. Use it in server-side code only
Default Read-Only Admin API Key Reading everything without changing anything

Run this command and paste the Default Admin API Key. Meilisearch creates the index products and indexes the documents in the background.

On your computer
IFS= read -rs K; printf 'Authorization: Bearer %s\n' "$K" | curl -ksS -H @- -H 'Content-Type: application/json' -X POST 'https://SERVER_IP:7700/indexes/products/documents?primaryKey=id' --data-binary '[{"id":1,"name":"ขวดน้ำสแตนเลสเก็บความเย็น"},{"id":2,"name":"Stainless steel water bottle"},{"id":3,"name":"Coffee mug"}]'; unset K

When it works: you get "status":"enqueued" with a taskUid. Wait a moment, then search with the Default Search API Key, spelling bottle wrong on purpose.

On your computer
IFS= read -rs K; printf 'Authorization: Bearer %s\n' "$K" | curl -ksS -H @- -H 'Content-Type: application/json' -X POST https://SERVER_IP:7700/indexes/products/search --data-binary '{"q":"botle"}'; unset K

The results include Stainless steel water bottle. Change the query to "ขวดน้ำ" and the Thai product turns up too.

Open https://SERVER_IP:7700 in your browser for Meilisearch's simple search page to try queries. The browser warns about the certificate because it was made on the server. Confirm to go on. Through a tunnel, open http://localhost:7700 instead. If it asks for a key, use the Default Search API Key.

Connect from an app on the same server#

Apps on the server use http://127.0.0.1:7700 with the key that fits the job. Meilisearch has libraries for more than 10 languages. Keep keys in the app's settings file or environment variables, never in code that goes into Git.

Meilisearch takes only the IPs you allow and uses a certificate made on the server, so your visitors' browsers cannot call it directly. Have the search box on your site send the query to your server-side code, which then searches Meilisearch.

Who can get in#

Way in Who
From outside People connecting from an IP you allow who hold a Meilisearch key
SSH tunnel People who can SSH into the server and hold a Meilisearch key
Programs on the server Programs that hold a Meilisearch key, limited to what that key allows
Web terminal The owner and members who can manage the project, with no server password
SSH People who hold the server's password or key
Web console People who hold the server's password

Anyone with access to this server, coding agents included, can read the Meilisearch master key.

Change passwords and keys#

What How
The server's password Server page, Access tab, press Reset password. The old one stops working at once
App keys Use the master key to make a new key with POST /keys, then delete the old one with DELETE /keys/<key>. A deleted key stops working at once, so update every app that uses it
The master key Made at install and shown in the console

Back up your data#

The data is on this server's disk and is not backed up automatically. Deleting the server or uninstalling the app deletes it.

  • Keep the source data elsewhere, such as your app's main database, so you can send it to Meilisearch again at any time. This is the easiest way to recover
  • Keep the index settings in your code, such as searchable fields, filterable fields and synonyms. Read the current ones from GET /indexes/<index>/settings
  • Meilisearch snapshots and dumps are stored on this server and are deleted with the app when you uninstall it

This command saves the settings of the index products to your computer. Paste the Default Admin API Key.

On your computer
IFS= read -rs K; printf 'Authorization: Bearer %s\n' "$K" | curl -ksS -H @- https://SERVER_IP:7700/indexes/products/settings -o products-settings.json; unset K

Remove the app#

  1. Check that the source data and settings are kept elsewhere. Uninstalling deletes Meilisearch and all its data
  2. Open the server page, Apps tab
  3. Press Uninstall on Meilisearch, check what will be deleted, and confirm

The server stays and is billed as usual. If you no longer need it, delete the server. Its data is gone for good.

What it costs#

XVer does not charge for the app. You pay XVer for the server only. A server that is off is still billed. Delete it to stop billing. Its data is gone for good.

PlanNVMe diskBandwidthPer hourPer month
1 vCPU · 2 GB32 GB2 TB฿0.38/hr฿229/mo
2 vCPU · 4 GB40 GB4 TB฿0.70/hr฿419/mo

The price you pay is shown before you confirm

Compare every size on Cloud Server pricing.

Safety#

Do this Avoid this
Allow only the IPs you really use Letting every IP connect
Give apps the search key or the admin key, as the job needs Using the master key in an app
Keep the source data elsewhere Making Meilisearch the only copy of your data
  • According to its developer, Meilisearch sends anonymous usage statistics, such as its version, the hardware and request counts, to Meili, and does not store data from the documents you add
  • The server's user xver can use sudo without a password, so anyone who can run commands on the server can reach all the data
  • The output of GET /keys holds every key. Do not screenshot it or paste it into a chat

Frequently asked questions#

Is Meilisearch free, and do I need an account?

Yes. This server runs the Community Edition, which is open source under the MIT and OpenLDAP licences and allows commercial use. You need no account with anyone. XVer charges only for the server.

What server size do I need?

s-1vcpu-2gb is enough for a small site or shop. Adding many documents uses a lot of CPU and RAM while they are indexed. For a lot of data, or other databases on the same server, choose s-2vcpu-4gb or larger.

How do I update it?

This server has Meilisearch 1.58, and it does not update itself. A Meilisearch database works only with the version that made it. The developer advises taking a snapshot before an upgrade, then upgrading the database as its docs describe.

Can I open it to the internet?

Yes. The server takes HTTPS connections on port 7700 from the IPs you allow, at first only your own, and you can add more in the console. Every request needs a key, and the connection is encrypted with TLS. A search box on your site still has to send queries through your server-side code.

I lost a Meilisearch key. What now?

Show the master key on the install page in the console. List the other keys with GET /keys, using the master key.

Is XVer connected to Meilisearch?

No. XVer is not its developer or agent, and Meili does not endorse this service.

฿229/mos-1vcpu-2gb

Install Meilisearch

Related posts

See all apps