#** $context.result contains the full response of the Elasticsearch query. Select a subset of information or iterate through hits to return the same shape as is expected by this field. *# [ #foreach($entry in $context.result.hits.hits) ## $velocityCount starts at 1 and increments with the #foreach loop ** #if( $velocityCount > 1 ) , #end $util.toJson($entry.get("_source")) #end ]