Created
May 17, 2012 21:47
-
-
Save jprante/2721760 to your computer and use it in GitHub Desktop.
Harvesting an OAI data provider with Elasticsearch in a single line
This file contains hidden or 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
# see https://github.com/jprante/elasticsearch-river-oai | |
# harvest | |
curl -XPUT 'localhost:9200/_river/aachen/_meta' -d '{ | |
"type" : "oai", | |
"oai" : { | |
"url" : "http://darwin.bth.rwth-aachen.de/opus3/oai2/oai2.php", | |
"set" : "pub-type:8" | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment