This is my query in .net C# MVC using NEST.
var response = ConnectionToES.EsClient().Search(s => s
.From(0)
.Size(10000)
.Index("ElasticSearch")
.Type("ESProductTable")
.Query(q =>
q.Term(t => t.ProductId, dr["ProductId"].ToString())
)
);
So, Its work properly in 1.7.2 version, recently I upgrade to 5.6.3. Now the query throwing error while executing in "Size". I have to find Id from 3Lac+ record on my table. If true than edit the data.