opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.6k stars 1.76k forks source link

[Feature Request] Add support for cardinality aggregation in Index Transforms #15910

Open tomer-cohen opened 2 weeks ago

tomer-cohen commented 2 weeks ago

Is your feature request related to a problem? Please describe

When using Index transforms, it's impossible to create an index transform with cardinality aggregation . This feature is supported in ElasticSearch 7.10.2, so I'm not sure why it's not included in opensearch, which is derived from Elasticsearch 7.10.2.

Describe the solution you'd like

Include cardinality aggregation as one of the supported aggregations, when creating a new Index transforms.

Related component

Other

Describe alternatives you've considered

There is no alternative I can think of other than using the search api, using the cardinality aggregation

Additional context

No response

dblock commented 17 hours ago

[Catch All Triage - 1, 2, 3, 4]