In DSpace 7.3, I am attempting to add a sort option to the workspaceConfiguration (to sort recent submissions) based on dc.date.available
<bean id="sortDateAvailable" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
<property name="metadataField" value="dc.date.available"/>
<property name="type" value="date"/>
<property name="defaultSortOrder" value="desc"/>
</bean>
After rebuilding the search index, the sort does not work.
A look at the solr logs reveals the parameter: sort=dc.date.available_sort, but there is no such field in the index. I tried setting the type to "text", but again this fails, and the solr log now shows the query parameter is sort=dc.date.available_sort. Same thing, there is no such field in the index.
Not sure if this has anything to do with it, but I have a couple thousand items with multiple dc.date.available metadatavalues (not sure how this happens), and the dynamic fields *_dt and *_sort are NOT defined as multivalued.
Is there a step I am missing, or are the multiple metadatavalues the problem?
Thanks,
~~Bill
--
Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp
________________________________________________________________
Bill Tantzen University of Minnesota Libraries
612-626-9949 (U of M)
612-325-1777 (cell)