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 Constructor Description SolrServiceSupervisionOrderIndexingPlugin()
-
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
-
-