Skip to content

Commit

Permalink
Merge pull request elastic#17 from Spantree/master
Browse files Browse the repository at this point in the history
fixing code example for writing
  • Loading branch information
costin committed Apr 5, 2013
2 parents 2aca7f0 + 4f6c2b4 commit 81df812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -46,7 +46,7 @@ JobClient.runJob(conf);
Same configuration template can be used for writing but using `ESOuputFormat`:
```java
JobConf conf = new JobConf();
conf.setInputFormat(ESOutputFormat.class);
conf.setOutputFormat(ESOutputFormat.class);
conf.set("es.location", "radio/artists"); // index or indices used for storing data
...
JobClient.runJob(conf);
Expand Down Expand Up @@ -175,4 +175,4 @@ To create a distributable jar, run `gradlew -x test build` from the command line
[REST]: http://www.elasticsearch.org/guide/reference/api/
[DistributedCache]: http://hadoop.apache.org/docs/stable/api/org/apache/hadoop/filecache/DistributedCache.html
[Cascading]: http://www.cascading.org/
[Tap]: http://docs.cascading.org/cascading/2.1/userguide/html/ch03s05.html
[Tap]: http://docs.cascading.org/cascading/2.1/userguide/html/ch03s05.html

0 comments on commit 81df812

Please sign in to comment.