In DSpace 7.3, I am attempting to add a sort option to the
workspaceConfiguration (to sort recent submissions) based on
dc.date.available

I have added and referenced a SortFieldConfiguration bean:
    <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)

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CADgrb7GWW3RmH5fVcVD8dL64nqU9MO2fv8Rzgd7RpCTcfYO6HA%40mail.gmail.com.

Reply via email to