Package org.dspace.discovery
Class SolrServiceSupervisionOrderIndexingPlugin
java.lang.Object
org.dspace.discovery.SolrServiceSupervisionOrderIndexingPlugin
- All Implemented Interfaces:
SolrServiceIndexPlugin
public class SolrServiceSupervisionOrderIndexingPlugin
extends Object
implements SolrServiceIndexPlugin
A Solr Indexing plugin responsible adding a `supervised` field.
When item being indexed is a workspace or workflow item,
and at least one supervision order is defined
the 'supervised' field with value 'true' will be added to the solr document,
if no supervision orders are defined field will be set to 'false'
- Author:
- Mohamed Eskander (mohamed.eskander at 4science dot it)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadditionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document)
-
Constructor Details
-
SolrServiceSupervisionOrderIndexingPlugin
public SolrServiceSupervisionOrderIndexingPlugin()
-
-
Method Details
-
additionalIndex
public void additionalIndex(Context context, IndexableObject indexableObject, org.apache.solr.common.SolrInputDocument document) - Specified by:
additionalIndexin interfaceSolrServiceIndexPlugin
-