"size": 10000 in bool query not returning the result


I have a problem with size in bool query.

Elasticsearch version :- 5.1.2

GET /data/distribution/_search
"query": {
"bool": {
"must": [
"term": {
"rights_id": "75542"
"size": 10000

If i reduce the size to 1000 its working fine.

You probably get an error message.
There is a limit now.

I'm not getting any error. Its not returning anything.

Console in kibana is getting crashed if i use size : 10000

What is the limit now? I have 7000 documents... how can i use size :10000

Limit is 10000. See https://www.elastic.co/guide/en/elasticsearch/reference/5.2/index-modules.html#dynamic-index-settings
But I don't understand why would you display 10000 results to a user.

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