Package org.dspace.discovery
Class SolrServiceContentInOriginalBundleFilterPlugin
java.lang.Object
org.dspace.discovery.SolrServiceContentInOriginalBundleFilterPlugin
- All Implemented Interfaces:
SolrServiceIndexPlugin
public class SolrServiceContentInOriginalBundleFilterPlugin
extends Object
implements SolrServiceIndexPlugin
This plugin adds three fields to the solr index to make a facet with/without
content in the ORIGINAL Bundle possible (like full text, images...). It is
activated simply by adding this class as a bean to discovery.xml.
The facet is added to Discovery in the usual way (create a searchFilter bean
and add it to the expected place) just with an empty list of used metadata
fields because there are none.
- Author:
- Christian Scheible christian.scheible@uni-konstanz.de
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadditionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)
-
Constructor Details
-
SolrServiceContentInOriginalBundleFilterPlugin
public SolrServiceContentInOriginalBundleFilterPlugin()
-
-
Method Details
-
additionalIndex
public void additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) - Specified by:
additionalIndexin interfaceSolrServiceIndexPlugin
-