I'm trying to add a new filter to discovery, but have had no luck. Well,
somoe luck, it shows up on the page, but when I apply it, it tells me I
have no results, when I know there are restults. THis is what I have
done. I have added the following to config/spring/api/discovery.xml. The
new filter is the searchFilterPeer
<list>
<ref bean="searchFilterTitle" />
<ref bean="searchFilterAuthor" />
<ref bean="searchFilterSubject" />
<ref bean="searchFilterIssued" />
<ref bean="searchFilterPeer" /> <== this is the new one
</list>
AND
<bean id="searchFilterPeer"
class="org.dspace.discovery.configuration.DiscoverySearchFilter">
<property name="indexFieldName" value="peer"/>
<property name="metadataFields">
<list>
<value>dc.description.peerreviewed</value>
</list>
</property>
</bean>
I have redeployed the webapp app and /solr, and even restarted tomcat. I
have also run:
./dspace update-discovery-index
What else do I need to do? I just chose the name "peer" for the
indexFiledName. and not sure if
org.dspace.discovery.configuration.DiscoverySearchFilte is right. Just
trying to emulate what is there already.
Any documentation on how to do this?
Very frustrated,
Jose
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette