Package org.dspace.discovery
Class SolrServiceFileInfoPlugin
java.lang.Object
org.dspace.discovery.SolrServiceFileInfoPlugin
- All Implemented Interfaces:
SolrServiceIndexPlugin
Adds filenames and file descriptions of all files in the ORIGINAL bundle to the Solr search index.
To activate the plugin, add the following line to discovery.xml
<bean id="solrServiceFileInfoPlugin" class="org.dspace.discovery.SolrServiceFileInfoPlugin"/>
After activating the plugin, rebuild the discovery index by executing:
[dspace]/bin/dspace index-discovery -b
- Author:
- Martin Walk
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadditionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)
-
Constructor Details
-
SolrServiceFileInfoPlugin
public SolrServiceFileInfoPlugin()
-
-
Method Details
-
additionalIndex
public void additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) - Specified by:
additionalIndexin interfaceSolrServiceIndexPlugin
-