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
| Constructor and Description |
|---|
SolrServiceFileInfoPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
additionalIndex(Context context,
DSpaceObject dso,
org.apache.solr.common.SolrInputDocument document) |
public void additionalIndex(Context context, DSpaceObject dso, org.apache.solr.common.SolrInputDocument document)
additionalIndex in interface SolrServiceIndexPluginCopyright © 2022 LYRASIS. All rights reserved.