Re: Top Hits for nested type field is not working..

2015-07-19 Thread vineeth mohan
Hello , You cant write top_hits under nested aggregation. While doing nested aggregation you need to deal with one abstract inner nested document at once and not the actual document. Putting top_hists here does not make sense. If you can state your problem more clearly , we might be able to

Top Hits for nested type field is not working..

2015-06-23 Thread Muddadi Hemaanusha
Hi, Am using fields with nested type, in the mappings I kept for column1 and column2 as nested type fields.. I am using the following query to get the top hits: GET partsfilter/partsfilter_type/_search { size: 10, query : { match : { description : abc } }, aggs : {