"query": { "match_all": {} } shows total:1000 but on console shows only 5 documents

(Jason Smith) #1

Question 1: why can't I see all 1000 documents in my response pane on the right.


"took": 5,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
"hits": {
"total": 1000,
"max_score": 1,
"hits": [
"_index": "account",
"_type": "account",
"_id": "25",
"_score": 1,
"_source": {
"account_number": 25,
"balance": 40540

Thank You

(kulkarni) #2


It's the default limit set by Elasticsearch . You can change by appending ?size=100 to the URL.


(Jason Smith) #3


Thank You so much. I know I am asking all basic questions. But as I continue to learn I will get hang of it.

(kulkarni) #4

Questions are all good..am sure you will start loving it soon too! Good Luck!


(Jason Smith) #5

Very kind of you in taking time to reply all sorts of questions.

Kind regards

(Jason Smith) #6


Where can I find "?size" in the documentation on elastic site?

I want to get the list of all endpoints etc from the documentation.

Thank you

(system) #7

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.