James,

This is what I have in my dspace.cfg file

# Browse indexes
webui.browse.index.1 = title:item:title
webui.browse.index.2 = author:metadata:dc.contributor.author:text
webui.browse.index.3 = subject:metadata:dc.subject.*:text
webui.browse.index.4 = dateissued:item:dateissued

# Sorting options
webui.itemlist.sort-option.1 = title:dc.title:title
webui.itemlist.sort-option.2 = dateissued:dc.date.issued:date
webui.itemlist.sort-option.3 = dateaccessioned:dc.date.accessioned:date

How does it compare with what you have?

If you change any of the parameters, you need to run 

./dspace index-init

-Jose

-----Original Message-----
From: James Bardin [mailto:[email protected]] 
Sent: Thursday, October 27, 2011 1:12 PM
To: [email protected]
Subject: [Dspace-tech] search can't sort by date issued

Hello,

Attempting to sort search results by "issue date" results in the following 
error:
"ERROR org.dspace.search.DSQuery @ Unable to use speficied sort
option: dateissued"

Checking DSQuery.java (line ~235) shows that this is catching a generic 
exception from lucene, which results in the sorting falling back to 
"relevance". This is confusing to users, because there no indication from the 
xmlui that would indicate the sorting failed or is incorrect.

Any ideas why sorting on dc.date.isssued is failing, or where to start for 
troubleshooting?


Thanks,
--
James Bardin <[email protected]>
Systems Engineer
Boston University IS&T

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the demand 
for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco 
certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to