Skip to content

Instantly share code, notes, and snippets.

View joshcrews's full-sized avatar

Josh Crews joshcrews

View GitHub Profile
# To run this code, you'll need the sample data (133 MB download, unzips to 492 MB):
# http://bit.ly/2avfASU
# tar xjf sample.tar.bz2
# `iex -S mix`
# `Elindex.Searcher.load_files`
# `Elindex.Searcher.search("Tim Cook")`
defmodule Elindex.Searcher do