Document xpack.security.dls.bitset.cache settings (#44400)

Two new settings were introduced in #43669 to control the
behaviour of the Document Level Security BitSet cache.

This change adds documentation for these 2 settings.

Backport of: #44100
This commit is contained in:
Tim Vernum 2019-07-16 16:22:25 +10:00 committed by GitHub
parent 673c63bb00
commit 4b50de2e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -128,6 +128,18 @@ level security].
Set to `false` to prevent document and field level security
from being configured. Defaults to `true`.
`xpack.security.dls.bitset.cache.ttl`::
The time-to-live for cached `BitSet` entries for document level security.
Document level security queries may depend on Lucene BitSet objects, and these are
automatically cached to improve performance. Defaults to expire entries that are
unused for `168h` (7 days).
`xpack.security.dls.bitset.cache.size`::
The maximum memory usage of cached `BitSet` entries for document level security.
Document level security queries may depend on Lucene BitSet objects, and these are
automatically cached to improve performance. Defaults to `50mb`, after which
least-recently-used entries will be evicted.
[float]
[[token-service-settings]]
==== Token service settings