Elasticsearch 5.0 SearchTemplate query Error

No Error but getting zero results {"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}}

Even when i have data in the name which i use to query.