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

Index weekday #161

Open
tokee opened this issue Mar 19, 2018 · 0 comments · May be fixed by #177
Open

Index weekday #161

tokee opened this issue Mar 19, 2018 · 0 comments · May be fixed by #177
Assignees

Comments

@tokee
Copy link
Collaborator

tokee commented Mar 19, 2018

For data-sources such as Twitter and Jodel, timestamps are both reliable and central to working with the data. It makes sense to issue queries such as "All Jodels from 06:30 to 9:00, Monday to Friday" or "All tweets from Friday 20:00 to Saturday 05:00".

Currently Solr does not support queries for a specific day of the week (Monday, Tuesday...), so to avoid generating excessive filter queries for all specific dates that are the wanted week day, this should be indexed. Likewise, the time of day should be indexed, possibly by fixing the date to 1970-01-01 or a similar hack that leaves the field as a proper datefield, so that Solrs build-in date/time-math can still be used.

@tokee tokee self-assigned this Mar 19, 2018
tokee added a commit to netarchivesuite/webarchive-discovery that referenced this issue May 29, 2018
@tokee tokee linked a pull request May 29, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant