Skip to content

[Terms] Allow multiple regex patterns into include/exclude #88532

Closed
@stratoula

Description

@stratoula

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
image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions