Hi.
I have a question.
Is it possible to configure the sorting options for search results for a
specific community or collection?
Currently, our discovery.xml, with the sorting settings at the community
and collection level, looks like this:
<bean id="communityConfiguration"
class="org.dspace.discovery.configuration.DiscoveryConfiguration"
scope="prototype" parent="defaultConfiguration">
<!--The sort filters for the discovery search-->
<property name="searchSortConfiguration">
<bean
class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
<property name="sortFields">
<list>
* <ref bean="sortScore" /> <ref
bean="sortDateAccessioned"/>
<ref bean="sortDateAccessionedAsc"/> <ref
bean="sortTitle"/> *
</list>
</property>
</bean>
</property>
</bean>
<bean id="collectionConfiguration"
class="org.dspace.discovery.configuration.DiscoveryConfiguration"
scope="prototype" parent="defaultConfiguration">
<!--The sort filters for the discovery search-->
<property name="searchSortConfiguration">
<bean
class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
<property name="sortFields">
<list>
*<ref bean="sortDateAccessioned"/>
<ref bean="sortDateAccessionedAsc"/> <ref
bean="sortTitle"/> <ref bean="sortScore" /> *
</list>
</property>
</bean>
</property>
</bean>
My question is: *can I make a specific configuration for a collection or
community? According to its handle or ID? Or will all collections and
communities follow these configurations above?*
Aroldo
--
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/CACKFi%2BfpoNedPHLdVdK-8HVAF-3v-WH01pk0U%3DXwALdqBOJF4Q%40mail.gmail.com.