# No search type for \[scroll\]

**URL:** <https://discuss.elastic.co/t/no-search-type-for-scroll/71087>\
**Category:** Elasticsearch\
**Created:** [January 10, 2017, 1:15pm UTC](https://discuss.elastic.co/t/no-search-type-for-scroll/71087 "2017-01-10T13:15:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![barry1](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@barry1](https://discuss.elastic.co/u/barry1)\
**Post date:** [January 10, 2017, 1:15pm UTC](https://discuss.elastic.co/t/no-search-type-for-scroll/71087/1 "2017-01-10T13:15:37Z")

</div>

Scroll search doesn't seem to work on our cluster?

I'm using this request:

```
GET /my_index/_search?search_type=scroll&size=100
{
  "query": {
    "bool": {
      "must": [
        {
          "match": {
            "program_id": "276"
          }
        },
        {
          "term": {
            "status": {
              "value": "active"
            }
          }
        }
      ]
    }
  }
}

```

And I'm getting this error:

```
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "No search type for [scroll]"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "No search type for [scroll]"
  },
  "status": 400
}
```

---

<div class="post-metadata">

**Author:** ![barry1](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@barry1](https://discuss.elastic.co/u/barry1)\
**Post date:** [January 11, 2017, 11:45am UTC](https://discuss.elastic.co/t/no-search-type-for-scroll/71087/2 "2017-01-11T11:45:11Z")

</div>

In addition to that, the code on [this page doesn't work](https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/_search_operations.html#_scan_scroll) either, I'm getting the same error

---

<div class="post-metadata">

**Author:** ![xavierfacq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xavierfacq/32/8744_2.png) [@xavierfacq](https://discuss.elastic.co/u/xavierfacq)\
**Post date:** [January 11, 2017, 12:29pm UTC](https://discuss.elastic.co/t/no-search-type-for-scroll/71087/3 "2017-01-11T12:29:38Z")

</div>

What is your cluster version ?

Read that ? [https://www.elastic.co/guide/en/elasticsearch/reference/5.1/breaking\_50\_search\_changes.html#\_literal\_search\_type\_scan\_literal\_removed](https://www.elastic.co/guide/en/elasticsearch/reference/5.1/breaking_50_search_changes.html#_literal_search_type_scan_literal_removed)

---

<div class="post-metadata">

**Author:** ![barry1](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@barry1](https://discuss.elastic.co/u/barry1)\
**Post date:** [January 11, 2017, 12:43pm UTC](https://discuss.elastic.co/t/no-search-type-for-scroll/71087/4 "2017-01-11T12:43:58Z")

</div>

Well, why is that still in the documentation for the PHP API 5.0 if it is removed.

Also, deprecated functionality should be mentioned in the documentation.

Our cluster version is 5.1.1

---

<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:** [February 8, 2017, 12:43pm UTC](https://discuss.elastic.co/t/no-search-type-for-scroll/71087/5 "2017-02-08T12:43:59Z")

</div>

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