Skip to content

Instantly share code, notes, and snippets.

@edwardw
Created December 28, 2011 14:07
Show Gist options
  • Save edwardw/1528044 to your computer and use it in GitHub Desktop.
Save edwardw/1528044 to your computer and use it in GitHub Desktop.
Index wikipedia using ElasticSearch
$ bin/plugin -install elasticsearch/elasticsearch-river-wikipedia/1.0.0
$ bin/elasticsearch
$ curl -XPUT 192.168.1.6:9200/_river/
$ curl -XPUT 192.168.1.6: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