Size limit for items within a document


(Waleed Malik) #1

I am trying to retrieve a document from elastic-search that comprises of an entity that has a data-set of more than 10k items. I have already gone through scrolling, paging and other options but that only helps in retrieving the JSON documents as a whole from the elastic-search database and won't apply on the items within any particular document.

P.s. what i want is to scroll through nested documents(child elements) that exceed elastic-search size limit

Is there any workaround for this ?


(Ganesh) #2

Is this what you are after?

index.max_result_window - Default size is 10000, so scrolling is the recommended way to fetch larger results.

Did you try filter_path or _source_include on your request?

https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-source-filtering.html


(system) #3

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