ElasticSearch: Filtered aliases , Filters are not always applied?


(sandeep) #1

Hi ,
I was referring to documentation i.e
https://www.elastic.co/guide/en/x-pack/current/securing-aliases.html#_filtered_aliases
It has below definition for Filtered aliases:

Filtered aliases:

Aliases can hold a filter, which allows to select a subset of documents that can be accessed out of all the documents that the physical index contains.
These filters are not always applied and should not be used in place of document level security.

Can any one explain what does it mean when they say "These filters are not always applied".
My assumption is if we create a filtered alias , it should filters should always be applied.

Regards,


(Gordon Brown) #2

The Limitations page goes into a bit more detail here - the example provided there is that the filters are not applied to the _mapping API, so users can get some information about the index that would normally not be accessible.

The wording on that page is confusing, I agree.


(system) #3

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