Re: Error running ES DSL in hadoop mapreduce

2014-08-25 Thread Sona Samad
on your elasticsearch cluster? - are there other exception in your logs that happen approximately at the same time? Thanks! On Mon, Aug 25, 2014 at 6:10 AM, Sona Samad sona@gmail.com javascript: wrote: Hi Adrien, My elasticsearch version is : elasticsearch-1.2.1

Re: Error running ES DSL in hadoop mapreduce

2014-08-25 Thread Sona Samad
} } } } } } But both these queries returns entire search result records to Mapper method, inspite of giving size: 5 in query string. Thanks, Sona On Monday, August 25, 2014 3:17:03 PM UTC+5:30, Sona Samad wrote: Thanks Adrien. The ExamRowKey and body_part are Strings uploaded from csv

Re: Error running ES DSL in hadoop mapreduce

2014-08-24 Thread Sona Samad
Ector] All shards failed for phase: [init_scan] Thanks, Sona On Friday, August 22, 2014 5:07:33 PM UTC+5:30, Sona Samad wrote: Hi, I was trying to run the below query from hadoop mapreduce: { aggs: { group_by_body_part: { terms: { field: body_part, size

Error running ES DSL in hadoop mapreduce

2014-08-22 Thread Sona Samad
Hi, I was trying to run the below query from hadoop mapreduce: { aggs: { group_by_body_part: { terms: { field: body_part, size: 5, order : { examcount : desc } }, aggs: { examcount: { cardinality: { field: ExamRowKey