Hi all,
I want to index MEDLINE documents which not always contain complete dates of
publication. The year is known always. Now the Solr documentation states, dates
must have the format "1995-12-31T23:59:59Z" for which month, day and even the
time of the day must be known.
I could, of course, just complement uncomplete dates with default values, 01-01
for example. But then I won't be able to distinguish between complete and
uncomplete dates afterwards which is of importance when displaying the
documents.
I could just store the known information, e.g. the year, into an integer-typed
field, but then I won't have date math.
Is there a good solution to my problem? Probably I'm just missing the obvious,
perhaps you can help me :-)
Best regards,
Erik