Is it possible to use a runtime field in document based security query

If I wanted to setup a role that has document based security and uses runtime field in the query, would that be possible? I can use regular, already indexed fields to do that, but I don't know how to do that with a Runtime field.

You can use runtime fields defined in the mappings in document level security query. But you cannot use runtime fields defined at query time.


@Yang_Wang that works! Thank you.

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