Can you run your query in Kibana (or cURL) to see how it performs, or limit it more to get any data? What's going on with the cluster during the search, i.e. CPU, any GC, etc.? Turn monitoring on and you can also profile a query in Kibana.
hi Christian, thank for you answer, i change the size to 10000 and it's more faster, but it's still slow, i'm getting something like a read of 30000 documents every 0,3 seconds
hi steve, i test the query in kibana and i get a similar perform, for a other test i try to get a smaller size data and it took 0.3 in around of 30000 documents, i finally i test it with a biggest size of data and i'm get this monitoring
as a additional information, i'm trying to do something like a sum with a group by, for now, i'm just searching the data with the matching filtres and then sum and
"group" with php, could be a best idea try an aggregation?
hi christian, i'm expeting to match all, because it's posible to get a report which except all the data(4.8 mill of documents), for know, i'm testing it in a personal computer it have a 16gb ram, i7 4700m with a 256 gb ssd, for now i didn't testing in a server because i didn't have it
Well, RAM/Disk okay so seems CPU bound, suggest you profile the query in Kibana (I've not done that much, so can't help much) to see how you might improve it.
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.