I am trying to pull list of all doc_ids in Elasticsearch index. the index contains 15 million docs, I am only interested in doc_id. I have set search query in java by setting "size" parameter to 15 million, but i got exception the maximum size is "10000". any idea how i can achieve this task?
I am using simple httpPost request to submit the query as follows: