Last active
August 29, 2015 14:13
-
-
Save fabianvf/4e92d5c766a19c042abb to your computer and use it in GitHub Desktop.
Getting Elasticsearch1.4.2 with wikipedia data loaded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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