Interesting.  I just looked at Items I just imported and I did NOT specify what any of these 3 fields should be in dublin_core.xml – they all got set by DSpace (version 1.7.1).  It’s interesting that date.issued is the only one with a different format:

DC Field                                 Value                                       Language

dc.date.accessioned                2011-12-20T18:59:53Z           -

dc.date.available                     2011-12-20T18:59:53Z           -

dc.date.issued                         2011-12-20                              -

 

I wonder if maybe this is the problem….?

Sue

 

 

Sue Walker-Thornton

(757) 864-2368

 

From: DeVries, Joe [mailto:joe.devries@austin.utexas.edu]
Sent: Tuesday, December 20, 2011 10:42 AM
To: James Bardin; Bram Luyten
Cc: dspace-tech@lists.sourceforge.net; Thornton, Susan M. (LARC-B702)[LITES]
Subject: RE: [Dspace-tech] search can't sort by date issued

 

I believe I saw an issue like this a while back in 1.6.2, when issue date was missing the trailing ‘Z’.

 

--

Joe DeVries

Senior Software Engineer

Digital Library Services, TDL

University of Texas at Austin

512-495-4639

PCL 1.335 / S5477

 

From: James Bardin [mailto:jbardin@bu.edu]
Sent: Tuesday, December 20, 2011 9:38 AM
To: Bram Luyten
Cc: dspace-tech@lists.sourceforge.net; susan.m.thornton@nasa.gov
Subject: Re: [Dspace-tech] search can't sort by date issued

 

 

On Tue, Dec 20, 2011 at 8:46 AM, Bram Luyten <bram@mire.be> wrote:

My very wild guess would be that it's related to a value in date issued that breaks the creation of the index on this value.

 

That's a very good guess! I haven't yet gotten around to building a dspace with some more debugging around the search code to see what's actually happening, but this is very plausible.

 

Looking the our DB,  there were a few non-ISO format dates, and a couple nulls. I updates the bad format dates, removed the nulls, and reindexed, but search by date issued still doesn't work. Do all the dates need to be in a more specific format? (like full ISO: 2000-01-12T12:13:14Z).

 

 

Thanks,

 

--
James Bardin <jbardin@bu.edu>
Systems Engineer
Boston University IS&T