Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event UI relies on a concatenated version of lineage #1072

Open
MortenHofft opened this issue Jun 19, 2024 · 1 comment
Open

Event UI relies on a concatenated version of lineage #1072

MortenHofft opened this issue Jun 19, 2024 · 1 comment
Assignees

Comments

@MortenHofft
Copy link
Member

MortenHofft commented Jun 19, 2024

ping @djtfmartin and @fmendezh

In the ALA colaboration we added a nice feature that displayed the structure of a dataset or event. To do that we used concatenated versions of eventTypes and events.

eventTypeHierarchyJoined + eventHierarchyJoined is what we called them in the ALA colaboration.
Indexed as keyword.

We use this to generate trees showing the dataset or event layout


Event A
├─ event a
├─ event b
│  ├─ event b1
│  ├─ event b2
├─ event c
│  ├─ event c1
│  ├─ event c2

We can do that because a term aggregation on eventTypeHierarchyJoined will return (/) being a reserved string

Event A / event a
Event A / event b / event b1
Event A / event b / event b2
...

better example for event Type would be Survey / Site / Report

@djtfmartin
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants