Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 16 lines (12 sloc) 0.653 kb
74e68fdf » thedatachef
2011-05-11 added ability to index arbitrary json documents, added test directory…
1 --
2 -- This tests the tsv indexer. Run in local mode with 'pig -x local test/test_tsv_loader.pig'
3 --
e12f8683 » kornypoet
2012-04-09 updated and cleaned up tests
4 %default ES_JAR_DIR '/usr/local/Cellar/elasticsearch/0.18.7/libexec'
5 %default ES_YAML '/usr/local/Cellar/elasticsearch/0.18.7/config/elasticsearch.yml'
6 %default PLUGINS '/usr/local/Cellar/elasticsearch/0.18.7/plugins'
7
8 %default INDEX 'foo_test'
9 %default OBJ 'foo'
10
11 register $ES_JAR_DIR/*.jar;
12 register target/wonderdog*.jar;
74e68fdf » thedatachef
2011-05-11 added ability to index arbitrary json documents, added test directory…
13
14 foo = LOAD 'test/foo.tsv' AS (character:chararray, value:int);
ccaca7d4 » thedatachef
2011-07-11 added test script for dumping data from elasticsearch
15
e12f8683 » kornypoet
2012-04-09 updated and cleaned up tests
16 STORE foo INTO 'es://$INDEX/$OBJ?json=false&size=1' USING com.infochimps.elasticsearch.pig.ElasticSearchStorage('$ES_YAML', '$PLUGINS');
Something went wrong with that request. Please try again.