Skip to content

Instantly share code, notes, and snippets.

@fabianvf
Last active August 29, 2015 14:13
Show Gist options
  • Save fabianvf/4e92d5c766a19c042abb to your computer and use it in GitHub Desktop.
Save fabianvf/4e92d5c766a19c042abb to your computer and use it in GitHub Desktop.
Getting Elasticsearch1.4.2 with wikipedia data loaded
# Install elasticsearch
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.2.deb
sudo dpkg -i elasticsearch-1.4.2.deb
# Install the wikipedia river
/usr/share/elasticsearch/bin/plugin -i elasticsearch/elasticsearch-river-wikipedia/2.4.1
# Start elasticsearch
sudo service elasticsearch start
# Create the River (WARNING: This will download ~10GB of compressed (45GB uncompressed) wikipedia articles)
curl -XPUT localhost:9200/_river/wikipedia/_meta -d '{"type":"wikipedia"}'
# Install elasticsearch
brew install elasticsearch
# Install the wikipedia river
/usr/local/bin/plugin -i elasticsearch/elasticsearch-river-wikipedia/2.4.1
# Start elasticsearch
elasticsearch
# Create the River (WARNING: This will download ~10GB of compressed (45GB uncompressed) wikipedia articles)
curl -XPUT localhost:9200/_river/wikipedia/_meta -d '{"type":"wikipedia"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment