# Elasticsearch-php scroll

**URL:** <https://discuss.elastic.co/t/elasticsearch-php-scroll/210845>\
**Category:** Elasticsearch\
**Created:** [December 6, 2019, 8:49am UTC](https://discuss.elastic.co/t/elasticsearch-php-scroll/210845 "2019-12-06T08:49:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohollx](https://avatars.discourse-cdn.com/v4/letter/o/ce7236/32.png) [@ohollx](https://discuss.elastic.co/u/ohollx)\
**Post date:** [December 6, 2019, 8:49am UTC](https://discuss.elastic.co/t/elasticsearch-php-scroll/210845/1 "2019-12-06T08:49:53Z")

</div>

Hi.  
I want to implement scrolling with elasticsearch-php  
Please contact us because it is not working well.  
Below is the source code.

"scroll" =\> "30s" Add this to your search and it won't search.

```
$params = [
	"scroll" => "30s",
	"size" => 100,
	"body" => [
		"query" => [
			"range" => [
				"id" => [
					"gte"=>1575558000,
					"lte"=>1575644399
				]
			]	
		]
	]
];

```

thank you.

---

<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:** [January 3, 2020, 8:49am UTC](https://discuss.elastic.co/t/elasticsearch-php-scroll/210845/2 "2020-01-03T08:49:56Z")

</div>

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