Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wikipedia River: A river to index wikipedia #403

Closed
kimchy opened this issue Oct 3, 2010 · 1 comment
Closed

Wikipedia River: A river to index wikipedia #403

kimchy opened this issue Oct 3, 2010 · 1 comment

Comments

@kimchy
Copy link
Member

kimchy commented Oct 3, 2010

A simple river to index wikipedia. Create it using:

curl -XPUT localhost:9200/_river/my_river/_meta -d '
{
    "type" : "wikipedia"
}
'

The default download is the latest wikipedia dump (http://download.wikimedia.org/enwiki/latest/enwiki-latest-pages-articles.xml.bz2). It can be changed using:

{
    "type" : "wikipedia",
    "wikipedia" : {
        "url" : "<<url to link to wikipedia dump>>"
    }
}

The index name defaults to the river name, and the type defaults to page. Both can be changed in the index section:

{
    "type" : "wikipedia",
    "index" : {
        "name" : "my_index",
        "type" : "my_type",
        "bulk_size" : 100
    }
}
@kimchy
Copy link
Member Author

kimchy commented Oct 3, 2010

Wikipedia River: A river to index wikipedia, closed by c4d1786.

medcl pushed a commit to medcl/elasticsearch that referenced this issue Jul 1, 2011
costin pushed a commit that referenced this issue Dec 6, 2022
costin added a commit to costin/elasticsearch that referenced this issue Dec 19, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant