Closed
Description
Description
When you want to use the include/exclude filtering feature on the terms aggregation you can either give an array of strings (exact match) or a regex pattern as a string.
This means that:
- Passing the pattern as an array doesn't work
- User can't have something like
['J.*', 'E.*', term1, term2]
(a combination of terms and regexes)
We want to support this feature in Lens. In order to help the users understand how this works we are introducing a UI like this
The user can start selecting terms from a multi-select dropdown or open the switch and add a regex. We thing that it would be more powerful if we could combine exact matches and patterns.