# Changing global setting "Autocomplete value suggestion method" not working

**URL:** <https://discuss.elastic.co/t/changing-global-setting-autocomplete-value-suggestion-method-not-working/388394>\
**Category:** Kibana\
**Created:** [July 17, 2026, 12:23pm UTC](https://discuss.elastic.co/t/changing-global-setting-autocomplete-value-suggestion-method-not-working/388394 "2026-07-17T12:23:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterDK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peterdk/32/49432_2.png) [@PeterDK](https://discuss.elastic.co/u/PeterDK)\
**Post date:** [July 17, 2026, 12:23pm UTC](https://discuss.elastic.co/t/changing-global-setting-autocomplete-value-suggestion-method-not-working/388394/1 "2026-07-17T12:23:13Z")

</div>

Hello,

There is a global Kibana setting called " **Autocomplete value suggestion method**" (autocomplete:valueSuggestionMethod) which defaults to "terms\_enum and with the following remark:

_The method used for querying suggestions for values in KQL autocomplete. Select terms\_enum to use the Elasticsearch terms enum API for improved autocomplete suggestion performance. ( **Note that terms\_enum is incompatible with Document Level Security.** ) Select terms\_agg to use an Elasticsearch terms aggregation. (Note that terms\_agg is incompatible with IP-type fields.)_

So, I know this is incompatible with DLS, but when I change this to "terms\_agg" still terms\_enum is used in the payload of the request. Even after reloading/hard refreshing and logout/login again.

For example (see method):

/internal/kibana/suggestions/values/logs-\*

```json
{
	"query": "",
	"field": "event.code",
	"fieldMeta": {
		"count": 0,
		"name": "event.code",
		"type": "string",
		"esTypes": [
			"keyword",
			"text"
		],
		"scripted": false,
		"searchable": true,
		"aggregatable": true,
		"readFromDocValues": true,
		"shortDotsEnable": false,
		"isMapped": true
	},
	"filters": [
		{
			"range": {
				"@timestamp": {
					"format": "strict_date_optional_time",
					"gte": "2026-07-17T11:35:00.000Z",
					"lte": "2026-07-17T11:50:59.999Z"
				}
			}
		}
	],
	"method": "terms_enum"
}

```

So, at the moment I can't find a way for filters to work with autocomplete in a discover session when DLS is active on the index privileges.

Current version: 9.3.3

Kind regards,

Peter
