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
Fields Modifier and Type Field Description protected ChoiceAuthorityServicechoiceAuthorityServiceprotected ItemServiceitemServiceprotected MetadataAuthorityServicemetadataAuthorityService
-
Constructor Summary
Constructors Constructor Description SolrServiceMetadataBrowseIndexingPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadditionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)
-
-
-
Field Detail
-
itemService
@Autowired(required=true) protected ItemService itemService
-
metadataAuthorityService
@Autowired(required=true) protected MetadataAuthorityService metadataAuthorityService
-
choiceAuthorityService
@Autowired(required=true) protected ChoiceAuthorityService choiceAuthorityService
-
-
Method Detail
-
additionalIndex
public void additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)
- Specified by:
additionalIndexin interfaceSolrServiceIndexPlugin
-
-