# Filter path is applied only to the first request of ScrollAPI

**URL:** <https://discuss.elastic.co/t/filter-path-is-applied-only-to-the-first-request-of-scrollapi/210076>\
**Category:** Elasticsearch\
**Created:** [December 1, 2019, 6:42pm UTC](https://discuss.elastic.co/t/filter-path-is-applied-only-to-the-first-request-of-scrollapi/210076 "2019-12-01T18:42:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RazmikGevorgyan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/razmikgevorgyan/32/58613_2.png) [@RazmikGevorgyan](https://discuss.elastic.co/u/RazmikGevorgyan)\
**Post date:** [December 1, 2019, 6:42pm UTC](https://discuss.elastic.co/t/filter-path-is-applied-only-to-the-first-request-of-scrollapi/210076/1 "2019-12-01T18:42:39Z")

</div>

Hi  
Nest ScollAPI uses defined filter path only in the first request.  
Next requests don't contain filter path and fetch too much.  
Used filter path (e.g. `FilterPath = new string[] { "hits.hits._source", "hits.hits._score", "servererror", "isvalid", "_scroll_id", "hits.total" }` ) with ScrollAPI.

---

<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:** [December 29, 2019, 6:42pm UTC](https://discuss.elastic.co/t/filter-path-is-applied-only-to-the-first-request-of-scrollapi/210076/2 "2019-12-29T18:42:47Z")

</div>

Closed on December 29, 2019, 6:42pm UTC

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