|Date||Fri, 27 Apr 2007 15:49:44 +1200|
|Subject||Re: [greenstone-users] Search in dc.Date Metadata|
Well, perhaps you have already considered this, but a date classifier already performs this function, ordering your documents by date.
Heres an example:
Heres what you need to add to your collect.cfg:
classifyDateList -metadata Date
If however, you really want to search by date, there are a number of options that come to mind.
o Add a new metadata value called maybe "TextDate" when you import your documents and alter your import plugin(s) to parse the 20070203 strings in your existing date metadata and convert them to their more natural human readable equivalents.
You could then build an index on TextDate instead of Date for your search.
o If you have produced your own metadata.xml files you might add TextDate to the import documents in the metadata.xml files, this would mean you wouldnt have to play around with customising plugins.
Hope this helps,
-- DL Consulting Greenstone Digital Library and Digitisation Specialists firstname.lastname@example.org www.dlconsulting.com