Sha256: bf72510473f7a5bcb6123c4c58b687550614a7b614a805c436b2cf6a215b7975

Contents?: true

Size: 695 Bytes

Versions: 5

Compression:

Stored size: 695 Bytes

Contents

--
-- This tests loading data from elasticsearch
--

%default ES_JAR_DIR '/usr/local/Cellar/elasticsearch/0.18.7/libexec'
%default ES_YAML    '/usr/local/Cellar/elasticsearch/0.18.7/config/elasticsearch.yml'
%default PLUGINS    '/usr/local/Cellar/elasticsearch/0.18.7/plugins'

%default INDEX      'foo_test'
%default OBJ        'foo'        

register $ES_JAR_DIR/*.jar;
register target/wonderdog*.jar;

--
-- Will load the data as (doc_id, contents) tuples where the contents is the original json source from elasticsearch
--
foo = LOAD 'es://$INDEX/$OBJ' USING com.infochimps.elasticsearch.pig.ElasticSearchStorage('$ES_YAML', '$PLUGINS') AS (doc_id:chararray, contents:chararray);
DUMP foo;

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wonderdog-0.2.0 test/test_dump.pig
wonderdog-0.1.1 test/test_dump.pig
wonderdog-0.1.0 test/test_dump.pig
wonderdog-0.0.2 test/test_dump.pig
wonderdog-0.0.1 test/test_dump.pig