Hi, I am having trouble inserting "type" on the facet search. I am using
version 5.3 and jspui interface. Até o momento e fiz o seguinte no
discovery.xml:
<!-- Set TagCloud configuration per discovery configuration -->
<property name="tagCloudFacetConfiguration"
ref="defaultTagCloudFacetConfiguration"/>
<!--The search filters which can be used on the discovery search page-->
<property name="searchFilters">
<list>
<ref bean="searchFilterTitle" />
<ref bean="searchFilterAdvisor" />
<ref bean="searchFilterAuthor" />
<ref bean="searchFilterSubject" />
<ref bean="searchFilterIssued" />
<ref bean="searchFilterType" />
</list>
</property>
<!-- Set TagCloud configuration per discovery configuration -->
<property name="tagCloudFacetConfiguration"
ref="homepageTagCloudFacetConfiguration"/>
<!--The search filters which can be used on the discovery search page
(same as defaultConfiguration above)-->
<property name="searchFilters">
<list>
<ref bean="searchFilterTitle" />
<ref bean="searchFilterAdvisor" />
<ref bean="searchFilterAuthor" />
<ref bean="searchFilterSubject" />
<ref bean="searchFilterIssued" />
<ref bean="searchFilterType" />
</list>
</property>
<bean id="searchFilterType"
class="org.dspace.discovery.configuration.DiscoverySearchFilter">
<property name="indexFieldName" value="type"/>
<property name="metadataFields">
<list>
<value>dc.type</value>
</list>
</property>
</bean>
After, I run ./dspace index-discovery -f, but did not work. Can anyone tell
if what I did above in discovery.xml is correct or if it can be made
easier.
Thanks in advance.
--
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.