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

Replace date_published_text with date_published_year, date_published_month, date_published_day #33

Open
cpritcha opened this issue Aug 9, 2019 · 0 comments
Labels

Comments

@cpritcha
Copy link
Contributor

cpritcha commented Aug 9, 2019

Currently date published information is stored in the database as text and parsed at run time to use in elasticsearch indices as dates. We cannot store the data as a date field because quite often month and day information is absent. With date information across three fields it will be much simpler to filter by publication year from the database.

@cpritcha cpritcha added the schema label Aug 9, 2019
@cpritcha cpritcha changed the title Replace date_published_text and date_published_year, date_published_month, date_published_day Replace date_published_text with date_published_year, date_published_month, date_published_day Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant