How to deal with "date" queries
searching for "date" like 1700 in advanced search is rewritten to queries for work.dateOfCreation.date
however, this is only a query for matching metadata, no range query (there is no calculation happening). it fails when there is no exact match for the entry 1700 in the work.dateOfCreation.date field.
what metadata is already there for facets?
also query for notBefore and notAfter metadta fields seem to work:
- https://textgridrep.org/search?query=(work.dateOfCreation.notBefore:%221700%22)
- https://textgridrep.org/search?query=(work.dateOfCreation.notAfter%3A"1700")
TODO: gather some statistics from our metadata which kind of queries make sense