Hello there,
I am new in Elastic Search and install and configured 1.7.2 last month using Rest in .net C#. Now I upgrade in 5.6.3.
But while fetching records it shows some error of record limit.
If I change query in size, It will gives output up to 10000 but more than that it give error
So can anyone know
Elastic Search 1.7.2 how many numbers of maximum record you get?
Elastic Search 5.6.3 how many numbers of maximum record you get?
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.
In Elastic table we have more than 3Lac+ record from that I have to edit on some particular matching ProductId, means all records on table are Product detail, So Admin want to edit Product specification then it should affect on Elastic Search table on real time. So for that we used query using NEST in C#, we update that matching ProductId with specification and save it.
You have given Link but it having default size is 10,000, while in 5.6.3 we reset from 10,000 to more then it throwing error on runtime.
Yes, there is 300 Thousands plus products are configured in table. Means that much of product ids. And yes I get that Id by matching in query and update that in elastic.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.