Hi Andrea
Thanks for the quick reply. yes running DSpace 5.x and can see the config,
thanks.
Sorry I should correct the question; the subject fields are custom, not
dc.subject.* but cg.subject.*.
I have:
- Updated spring/api/discovery.xml, adding <value>cg.subject.*</value> to
the searchFilterSubject:
<bean id="searchFilterSubject" class=
"org.dspace.discovery.configuration.HierarchicalSidebarFacetConfiguration">
<property name="indexFieldName" value="subject"/>
<property name="metadataFields">
<list>
<value>dc.subject.*</value>
<value>cg.subject.*</value>
</list>
</property>
<property name="facetLimit" value="10"/>
<property name="sortOrder" value="COUNT"/>
<property name="splitter" value="::"/>
</bean>
- Restarted the XMLUI web app,
- Run a Solr re-index:
# ./bin/dspace index-discovery
but still not seeing the subjects in the facet list so I'm probably missing
a step.
Thanks
Hayden
On Wednesday, September 19, 2018 at 10:45:03 AM UTC+8, Andrea Schweer wrote:
>
> Hi Hayden,
>
> On Wed, 19 Sep 2018 at 14:37, Hayden Young <[email protected]
> <javascript:>> wrote:
>
>> We would like to index all dc.subject.* fields into a catch all subject
>> field and display these as the "Browse By Subject" facet on the home page.
>>
>
> I'm not sure what DSpace version you're using, but the behaviour you
> describe is already the default in 5.x:
> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace/config/spring/api/discovery.xml#L385
>
> (same for 6.x too)
>
> cheers,
> Andrea
>
> --
> Dr Andrea Schweer
> Research Technologies Manager, ITS Programme & Commercial
> The University of Waikato, Hamilton, New Zealand
> +64-7-837 9120
>
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.