Sha256: 6c019b6e4e7b7e0db1094ef41769db5635956880f0bba38ced2c755a51d478b5

Contents?: true

Size: 653 Bytes

Versions: 5

Compression:

Stored size: 653 Bytes

Contents

--
-- This tests the tsv indexer. Run in local mode with 'pig -x local test/test_tsv_loader.pig'
--
%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;

foo = LOAD 'test/foo.tsv' AS (character:chararray, value:int);

STORE foo INTO 'es://$INDEX/$OBJ?json=false&size=1' USING com.infochimps.elasticsearch.pig.ElasticSearchStorage('$ES_YAML', '$PLUGINS');

Version data entries

5 entries across 5 versions & 1 rubygems

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