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

Normalize programme information in index #40

Open
dcabo opened this issue Nov 3, 2019 · 0 comments
Open

Normalize programme information in index #40

dcabo opened this issue Nov 3, 2019 · 0 comments

Comments

@dcabo
Copy link
Member

dcabo commented Nov 3, 2019

We currently store the programme id, title and date in each caption. Normally it works well, Elastic prefers to have things denormalized, but it's starting to be painful when we get a list of programmes in the database, which seems to be taking around one second now.

The solution would be to define a parent-child relation in the index, as explained here:

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

No branches or pull requests

1 participant