Hi,
Try with this:
<list>
<value>dc.contributor.author</value>
<value>dc.coverage.temporal AND
dcterms.conformsTo:trademark </value>
</list>
El martes, 2 de marzo de 2021 a las 19:36:52 UTC, [email protected]
escribió:
> Is it possible to indicate a conditional when defining an index in the
> discovery.xml file?
>
> I mean:
> In the "list" section under "<value> dc.contributor.author </value>" I
> want to add the index of the "dc.coverage.temporal" field only if the
> content of the "dcterms.conformsTo" field is equal to the word "trademark"
>
> <bean id="searchFilterAuthor"
> class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
> <property name="indexFieldName" value="author"/>
> <property name="metadataFields">
> <list>
> <value>dc.contributor.author</value>
>
> <!------------------------------- -->
> <!-- HERE ADD NEW INDEX -->
> <!------------------------------- -->
>
> </list>
> </property>
> <property name="facetLimit" value="10"/>
> <property name="sortOrderSidebar" value="COUNT"/>
> <property name="sortOrderFilterPage" value="COUNT"/>
> </bean>
>
> thanks a lot
> José
> Responder a todos
> Responder al autor
> Reenviar
>
>
--
All messages to this mailing list should adhere to the Code of Conduct:
https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups
"DSpace Community" 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-community/3e6e3844-1669-4c31-8c5c-f8e602eac8e2n%40googlegroups.com.