Skip to content

dataramblers/esClientEdoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple client to fetch the complete index with the new Elasticsearch Java REST API and scroll endpoint

1) compile the jar:
mvn package assembly:assembly

2) to get some help 

java -jar target/esclient-1.0-SNAPSHOT-jar-with-dependencies.jar

3) to fetch the documents
a) java -jar target/esclient-1.0-SNAPSHOT-jar-with-dependencies.jar  --host=edoc-vmtest.ub.unibas.ch --port=80 --user=[ask martin for the user] --password='[ask Martin for the password]' > edoc_nested.all.json &  
or
b) java -jar target/esclient-1.0-SNAPSHOT-jar-with-dependencies.jar  --host=edoc-vmtest.ub.unibas.ch --port=80 --user=[ask martin for the user] --password='ask martin for the password' --endpoint=edoc_flattened  > edoc_flattened.all.json &

 

About

client to fetch edoc documents stored with Elasticsearch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages