Bear in mind too, that it's often best to rely on things that dspace will guarantee are always be available, such as dc.date.available and dc.date.accessioned.
cheers stuart -- I have a new phone number: 04 463 5692 ________________________________________ From: helix84 <[email protected]> Sent: Tuesday, 25 November 2014 11:22 p.m. To: Jeffrey Sheldon Cc: [email protected] Subject: Re: [Dspace-tech] OAI harvest "Date" matching On Mon, Nov 17, 2014 at 4:53 PM, Jeffrey Sheldon <[email protected]> wrote: > After migrating from DSpace 1.8.2 to 3.3, I've been told by one of our > digital librarians that the OAI 2.0 returns records based on > dc.date.accessioned. In the past, we were apparently providing items based > on dc.date.modified (their preference). Interestingly, when I view records > at /dspace-oai, it's listing "date modified" in the overview. > > I've looked through settings, made changes optimistically, and read quite a > bit of documentation, but can't seem to affect the date setting. It seems like the class populating the oai index from the database doesn't really care about the order and simply takes items in the order served by the DB: Full import: https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L203 Incremental import: https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L178 Try changing these queries first and see if it helps. If not, perhaps there is some ordering during output from the index (I doubt so, but I didn't check). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

