Building a highly performant photosearch with Elasticsearch, Docker, and AngularJS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
indexer
photosearchapp
.gitignore
LICENSE
README.md
docker-compose.yml

README.md

photosearch

Building a highly performant photosearch with Elasticsearch, Docker, and AngularJS

Read more about this project on my blog

Instructions

Part 1: Search Infrastructure

Prerequisites: Docker and Docker host.

Clone the repo and in the top level run docker-compose up

Part 2: Indexing

Prerequisites: nodejs; node canvas - which requries node-gyp and cairo

In the indexer directory run npm install to set up the dependencies.

Then run node index.js <path to photos>

Part 3:

The photosearchapp folder has a simple angular app which connects to your elasticsearch instance. Be sure to change the server in app.js to point to your instance and to change the photo path in the main.html file.

Licensing information in the LICENSE file