Skip to content

This repository includes a demo application showing how you can integrate Meilisearch with the Kleio ad server in order to add sponsored listings to your search results

Notifications You must be signed in to change notification settings

sebastian/kleio_meilisearch_demo

Repository files navigation

Integrating Meilisearch and Kleio

This is a demo application showcasing how to integrate the Kleio ad-server with the Meilisearch search engine. Using the two together, you can quickly add support for sponsored search results to your application.

To see this demo in practice, I recommend spinning up the full suite of containers using docker compose as described in the Kleio integrations documentation.

What this repository contains

This application is a very simple web frontend written in Elixir. It uses the Phoenix web framework.

In addition to the search interface, it also includes some tooling to ensure the Meilisearch instance it is pointed to has the required movies index setup.

You can start the application directly by running:

  • mix deps.get to get all dependencies
  • iex -S mix phx.server to start the application

Do note however that this isn't going to work particularly well unless you also have Kleio and Meilisearch running.

Release

To release a new version, run:

export VERSION=X.Y.Z

docker buildx build --platform linux/arm64/v8,linux/amd64 -t getkleio/meilisearch_demo .
docker push getkleio/meilisearch_demo:latest
docker tag getkleio/meilisearch_demo:latest getkleio/meilisearch_demo:$VERSION
docker push getkleio/meilisearch_demo:$VERSION

About

This repository includes a demo application showing how you can integrate Meilisearch with the Kleio ad server in order to add sponsored listings to your search results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published