Package org.dspace.discovery
Class SolrServiceMetadataBrowseIndexingPlugin
java.lang.Object
org.dspace.discovery.SolrServiceMetadataBrowseIndexingPlugin
- All Implemented Interfaces:
SolrServiceIndexPlugin
public class SolrServiceMetadataBrowseIndexingPlugin
extends Object
implements SolrServiceIndexPlugin
A Solr Indexing plugin for the "metadata" browse index type.
For Example: webui.browse.index.2 = author:metadata:dc.contributor.*\,dc.creator:text OR webui.browse.index.4 = subject:metadata:dc.subject.*:text
This plugin was based heavily on the old (DSpace 5.x or below), SolrBrowseCreateDAO class, specifically its "additionalIndex()" method, which used to perform this function.
- Author:
- Tim Donohue
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ChoiceAuthorityServiceprotected ItemServiceprotected MetadataAuthorityService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadditionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)
-
Field Details
-
itemService
-
metadataAuthorityService
-
choiceAuthorityService
-
-
Constructor Details
-
SolrServiceMetadataBrowseIndexingPlugin
public SolrServiceMetadataBrowseIndexingPlugin()
-
-
Method Details
-
additionalIndex
public void additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) - Specified by:
additionalIndexin interfaceSolrServiceIndexPlugin
-