Skip to content

Commit

Permalink
Update docs for KQL autocomplete when DLS is enabled (#139248)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson authored Aug 23, 2022
1 parent 4473863 commit 908a01b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/management/advanced-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Set this property to `false` to prevent the filter editor and KQL autocomplete
from suggesting values for fields.

[[autocomplete-valuesuggestionmethod]]`autocomplete:valueSuggestionMethod`::
When set to `terms_enum`, autocomplete uses the terms enum API for value suggestions. Kibana returns results faster, but suggestions are approximate, sorted alphabetically, and can be outside the selected time range.
When set to `terms_enum`, autocomplete uses the terms enum API for value suggestions. Kibana returns results faster, but suggestions are approximate, sorted alphabetically, and can be outside the selected time range. (Note that this API is incompatible with {ref}/document-level-security.html[Document-Level-Security].)
When set to `terms_agg`, Kibana uses a terms aggregation for value suggestions, which is
slower, but suggestions include all values that optionally match your time range and are sorted by popularity.

Expand Down
5 changes: 3 additions & 2 deletions src/plugins/data/server/ui_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,9 @@ export function getUiSettings(
description: i18n.translate('data.advancedSettings.autocompleteValueSuggestionMethodText', {
defaultMessage:
'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. Select terms_agg to use an ' +
'Elasticsearch terms aggregation. {learnMoreLink}',
'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. ' +
'{learnMoreLink}',
values: {
learnMoreLink:
`<a href=${docLinks.links.kibana.autocompleteSuggestions} target="_blank" rel="noopener">` +
Expand Down

0 comments on commit 908a01b

Please sign in to comment.