Hello,
I happened to encounter a similar issue before. In SOLR, this field is
treated as *text*. You can go to the SOLR interface and find the following
error message.
"sort":"dc.date.available desc", ... "error":{
"metadata":[ "error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.common.SolrException"], "msg":"can not
sort on multivalued field: dc.date.available of type: text",
"code":400
I used dc.date.accessioned instead.
Regards,
Caroline C.
RENATO CAMARGOS DE ALMEIDA SOUSA 在 2025年10月24日 星期五上午9:31:23 [UTC+8] 的信中寫道:
> Hi,
>
> DSpace v7.6,
>
> I'm new to this area and would appreciate some help with an issue I'm
> facing.
>
> I created a DiscoverySortFieldConfiguration in my Discovery.xml and added
> it to a DiscoveryConfiguration area. I was able to see the option
> correctly, and everything looked fine. The problem arose when I checked the
> item order; it wasn't sorting as I intended. Here's the bean:
>
>
> <bean id="sortAvailable_Recentes"
> class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
> <property name="metadataField" value="dc.date.available"/>
> <property name="type" value="date"/>
> <property name="defaultSortOrder" value="desc"/>
> </bean>
>
>
> It's likely that there's a problem with the "date" type.
>
> Could someone help me or provide a link with specific guidance regarding
> this issue?
>
> Regards,
> Renato Camargos
--
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 visit
https://groups.google.com/d/msgid/dspace-tech/5c5f158e-2ced-4f1d-8576-a1a16090a0b0n%40googlegroups.com.