Skip to content

Support case_insensitive for 'Include' of Terms Aggregation #68819

Open
@tommymonk

Description

@tommymonk

I noticed the recent 7.10 release bringing support for case insensitivity to more parts of the DSL (61546 & 59441)

I require the ability to filter Terms Aggregation buckets in a case-insensitive way.

GET /_search
{
  "aggs": {
    "tags": {
      "terms": {
        "field": "tags",
        "include": ".*sport.*",
        "include_case_insensitive": true
      }
    }
  }
}

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