elastic/elasticsearch

Expand runtime_field data types to include ranges

Offen

#89.707 geöffnet am 29.08.2022

 (17 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Java (25.882 Forks)batch import
:Search Foundations/Mapping>enhancementTeam:Search Foundationsgood first issuehelp wanted

Repository-Metriken

Stars
 (76.700 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T) (1.000 gemergte PRs in 30 T)

Beschreibung

Describe the feature:

runtime_fields currently don't support range, e.g. date ranges, as data types (docs). This could be useful for analytical use cases that rely on durations.

Describe a specific use case for the feature:

An index may hold two or more fields that mark the start and end of a period, e.g. a session. There is currently no easy way to visualize such date ranges within Kibana using runtime_fields for experimental purposes, instead an index mapping would have to be deployed grabbing data from said date fields.

Contributor Guide