Package org.dspace.discovery
Class SolrServiceFileInfoPlugin
- java.lang.Object
-
- org.dspace.discovery.SolrServiceFileInfoPlugin
-
- All Implemented Interfaces:
SolrServiceIndexPlugin
public class SolrServiceFileInfoPlugin extends Object implements 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 Constructor Description SolrServiceFileInfoPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadditionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)
-
-
-
Method Detail
-
additionalIndex
public void additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)
- Specified by:
additionalIndexin interfaceSolrServiceIndexPlugin
-
-