org.dspace.discovery
Class SolrServiceResourceRestrictionPlugin
java.lang.Object
org.dspace.discovery.SolrServiceResourceRestrictionPlugin
- All Implemented Interfaces:
- SolrServiceIndexPlugin, SolrServiceSearchPlugin
public class SolrServiceResourceRestrictionPlugin
- extends Object
- implements SolrServiceIndexPlugin, SolrServiceSearchPlugin
Restriction plugin that ensures that indexes all the resource policies.
When a search is performed extra filter queries are added to retrieve only results to which the user has READ access
- Author:
- Kevin Van de Velde (kevin at atmire dot com), Mark Diggory (markd at atmire dot com), Ben Bosman (ben at atmire dot com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrServiceResourceRestrictionPlugin
public SolrServiceResourceRestrictionPlugin()
additionalIndex
public void additionalIndex(Context context,
DSpaceObject dso,
org.apache.solr.common.SolrInputDocument document)
- Specified by:
additionalIndex in interface SolrServiceIndexPlugin
additionalSearchParameters
public void additionalSearchParameters(Context context,
DiscoverQuery discoveryQuery,
org.apache.solr.client.solrj.SolrQuery solrQuery)
- Specified by:
additionalSearchParameters in interface SolrServiceSearchPlugin
Copyright © 2012 DuraSpace. All Rights Reserved.