Installation

    Launch MeiliSearch to start the server.

    Download the latest stable release of MeiliSearch with Homebrew.

    Launch MeiliSearch to start the server.

    1. Server is listening on: http://127.0.0.1:7700

    Using Docker you can choose to run any available tags (opens new window).

    This command starts the latest stable release of MeiliSearch.

    Data written to a Docker container is not persistent and is deleted along with the container when the latter is stopped. Docker volumes are not deleted when containers are removed. It is then recommended to share volumes between your containers and your host machine to provide persistent storage. MeiliSearch writes data to /data.ms

    Launch MeiliSearch to start the server.

    1. $ echo "deb [trusted=yes] https://apt.fury.io/meilisearch/ /" > /etc/apt/sources.list.d/fury.list
    2. $ apt update && apt install meilisearch-http
    3. $ meilisearch

    MeiliSearch is written in Rust. To compile it, is required.

    If the Rust toolchain is already installed, clone the repository on your local system and change it to your working directory.

    In the cloned repository, compile MeiliSearch.

    1. $ rustup update
    2. # Compile the project
    3. $ cargo build --release
    4. $ ./target/release/meilisearch

    Options are added at launch. Either through command line options or through environment variables.

    This is an example using the command line options.

    Getting the latest version of MeiliSearch is a straightforward process: simply fetch and install the latest binary with your preferred method (see installation above).

    However, please note that prior to our official release (v1.0), all minor updates (v0.X) are considered breaking. Therefore, MeiliSearch databases are not compatible across versions for as long as we are in beta.

    If you want to transfer your database from an outdated MeiliSearch instance to the most recent version, we recommend following .

    If you get the error Cannot open database, expected MeiliSearch engine version: X.X.X, current engine version Y.Y.Y, simply delete your database folder (defaults to data.ms), and re-index all your documents.

    Using dumps, you can export your MeiliSearch data—all indexes, documents, and settings contained in your database—into a transferrable state. Then, you can re-import this data after updating MeiliSearch to the latest version.

    Since the content is exported in a way that guarantees mobility, it needs to be re-indexed. If your database is large, this process can take a long time. Nonetheless, this process guarantees to migrate all settings and documents between two different versions of MeiliSearch.