# Handle Large Message Returned from Query

**URL:** <https://discuss.elastic.co/t/handle-large-message-returned-from-query/191162>\
**Category:** Elasticsearch\
**Created:** [July 18, 2019, 8:44am UTC](https://discuss.elastic.co/t/handle-large-message-returned-from-query/191162 "2019-07-18T08:44:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lonzodc](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@lonzodc](https://discuss.elastic.co/u/lonzodc)\
**Post date:** [July 18, 2019, 8:44am UTC](https://discuss.elastic.co/t/handle-large-message-returned-from-query/191162/1 "2019-07-18T08:44:34Z")

</div>

Hi,

Is there a recommended way to query many large messages? Right now, we can only divide our expected query result per number of records but not per size (in bytes). For example, we "chop" our queries using "size":500. 500 records may not necessarily mean that this batch is larger than a batch of 100 large records.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 15, 2019, 8:44am UTC](https://discuss.elastic.co/t/handle-large-message-returned-from-query/191162/2 "2019-08-15T08:44:38Z")

</div>

Closed on August 15, 2019, 8:44am UTC

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