# Kuery cannot be turned on (The \_source field is not searchable)

**URL:** <https://discuss.elastic.co/t/kuery-cannot-be-turned-on-the-source-field-is-not-searchable/234687>\
**Category:** Kibana\
**Created:** [May 28, 2020, 8:00am UTC](https://discuss.elastic.co/t/kuery-cannot-be-turned-on-the-source-field-is-not-searchable/234687 "2020-05-28T08:00:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aeroxy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aeroxy/32/69241_2.png) [@aeroxy](https://discuss.elastic.co/u/aeroxy)\
**Post date:** [May 28, 2020, 8:00am UTC](https://discuss.elastic.co/t/kuery-cannot-be-turned-on-the-source-field-is-not-searchable/234687/1 "2020-05-28T08:00:48Z")

</div>

When I turn on Kibana's Kuery feature ([https://www.elastic.co/guide/en/kibana/6.5/kuery-query.html](https://www.elastic.co/guide/en/kibana/6.5/kuery-query.html)) it gives me this error:

```auto
Discover: The _source field is not searchable The _source field is not searchable The _source field is not searchable The _source field is not searchable The _source field is not searchable

Less Info
OK
Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"gtrdXxqnSFy89HbEKKfg7Q","index":"log-2020-05-24"},{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"YiM-cyDhQrqVpr8OXmORFA","index":"log-2020-05-25"},{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"eLAUOjOZTnmVD2RrA-F9mg","index":"log-2020-05-26"},{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"T17V9I-mRlavpR87Ync4eQ","index":"log-2020-05-27"},{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"XCJot2guTouyuy-iDYhbQw","index":"log-2020-05-28"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"log-2020-05-24","node":"mLJLMsD6QM-zWatsq0wekw","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"gtrdXxqnSFy89HbEKKfg7Q","index":"log-2020-05-24"}},{"shard":0,"index":"log-2020-05-25","node":"mLJLMsD6QM-zWatsq0wekw","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"YiM-cyDhQrqVpr8OXmORFA","index":"log-2020-05-25"}},{"shard":0,"index":"log-2020-05-26","node":"mLJLMsD6QM-zWatsq0wekw","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"eLAUOjOZTnmVD2RrA-F9mg","index":"log-2020-05-26"}},{"shard":0,"index":"log-2020-05-27","node":"mLJLMsD6QM-zWatsq0wekw","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"T17V9I-mRlavpR87Ync4eQ","index":"log-2020-05-27"}},{"shard":0,"index":"log-2020-05-28","node":"GGfuU2fXTQa6RcWPVmVNeQ","reason":{"type":"query_shard_exception","reason":"The _source field is not searchable","index_uuid":"XCJot2guTouyuy-iDYhbQw","index":"log-2020-05-28"}}]},"status":400}
    at http://kibana.com/bundles/commons.bundle.js:3:1198341
    at Function.Promise.try (http://kibana.com/bundles/commons.bundle.js:3:892390)
    at http://kibana.com/bundles/commons.bundle.js:3:891761
    at Array.map (<anonymous>)
    at Function.Promise.map (http://kibana.com/bundles/commons.bundle.js:3:891719)
    at callResponseHandlers (http://kibana.com/bundles/commons.bundle.js:3:1197633)
    at http://kibana.com/bundles/commons.bundle.js:3:1181366
    at processQueue (http://kibana.com/bundles/vendors.bundle.js:277:199684)
    at http://kibana.com/bundles/vendors.bundle.js:277:200647
    at Scope.$digest (http://kibana.com/bundles/vendors.bundle.js:277:210409)
    at http://kibana.com/bundles/vendors.bundle.js:277:212941
    at completeOutstandingRequest (http://kibana.com/bundles/vendors.bundle.js:277:64424)
    at http://kibana.com/bundles/vendors.bundle.js:277:67265

```

There is not conflict in my index pattern, also my \_source field is set to (default):

```auto
        {
          "name": "_source",
          "type": "_source",
          "count": 0,
          "scripted": false,
          "searchable": false,
          "aggregatable": false,
          "readFromDocValues": false
        }

```

Changing it to:

```auto
        {
          "name": "_source",
          "type": "_source",
          "count": 0,
          "scripted": false,
          "searchable": true,
          "aggregatable": true,
          "readFromDocValues": false
        }

```

fixes nothing.

---

<div class="post-metadata">

**Author:** ![aeroxy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aeroxy/32/69241_2.png) [@aeroxy](https://discuss.elastic.co/u/aeroxy)\
**Post date:** [May 28, 2020, 9:33am UTC](https://discuss.elastic.co/t/kuery-cannot-be-turned-on-the-source-field-is-not-searchable/234687/2 "2020-05-28T09:33:44Z")

</div>

I restarted Kibana and it was fixed.

---

<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:** [June 25, 2020, 9:33am UTC](https://discuss.elastic.co/t/kuery-cannot-be-turned-on-the-source-field-is-not-searchable/234687/3 "2020-06-25T09:33:46Z")

</div>

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