-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
Most records in the ADS database have "00" in the day field for a pubdate (e.g. "pubdate":"2020-01-00").
While we have a special case for handling these records when we create the date field (which in this case gets set to 2020-01-01T00:00:00Z), we don't do so with pubdate, which causes the record to be missed when one performs a range query such as pubdate:[2020-01-01 TO 2020-01-31].
I believe we originally resisted manipulating the pubdate because "00" carries the information that the actual day of publication is unknown (as opposed to being exactly the first day of the month), but unless this is handled as a special case at indexing time, the current situation leads to incorrect results. Opinions @romanchyla?
Reactions are currently unavailable