Uses of Class
org.dspace.discovery.SearchServiceException
Packages that use SearchServiceException
Package
Description
Defines usage event instrumentation points and provides implementations for
testing.
Represents permissions for access to DSpace content.
Provides an API for reading and manipulating content in the DSpace system.
-
Uses of SearchServiceException in org.dspace.app.statistics
Methods in org.dspace.app.statistics that throw SearchServiceExceptionModifier and TypeMethodDescriptionstatic IntegerLogAnalyser.getNumItems(Context context) get the total number of items in the archive at time of execution, ignoring all other constraintsstatic IntegerLogAnalyser.getNumItems(Context context, String type) get the number of items in the archive which were accessioned between the provided start and end dates, with the given value for the DC field 'type' (unqualified)static StringLogAnalyser.processLogs(Context context, String myLogDir, String myFileTemplate, String myConfigFile, String myOutFile, LocalDate myStartDate, LocalDate myEndDate, boolean myLookUp) using the pre-configuration information passed here, analyse the logs and produce the aggregation file -
Uses of SearchServiceException in org.dspace.authorize
Methods in org.dspace.authorize that throw SearchServiceExceptionModifier and TypeMethodDescriptionlongAuthorizeServiceImpl.countAdminAuthorizedCollection(Context context, String query) Finds the amount of collections for which the logged in user has ADMIN rights.longAuthorizeServiceImpl.countAdminAuthorizedCommunity(Context context, String query) Finds the amount of communities for which the logged in user has ADMIN rights.AuthorizeServiceImpl.findAdminAuthorizedCollection(Context context, String query, int offset, int limit) Finds collections for which the logged in user has ADMIN rights.AuthorizeServiceImpl.findAdminAuthorizedCommunity(Context context, String query, int offset, int limit) Finds communities for which the logged in user has ADMIN rights. -
Uses of SearchServiceException in org.dspace.authorize.service
Methods in org.dspace.authorize.service that throw SearchServiceExceptionModifier and TypeMethodDescriptionlongAuthorizeService.countAdminAuthorizedCollection(Context context, String query) Counts collections for which the current user is admin, AND which match the query.longAuthorizeService.countAdminAuthorizedCommunity(Context context, String query) Counts communities for which the current user is admin, AND which match the query.AuthorizeService.findAdminAuthorizedCollection(Context context, String query, int offset, int limit) Finds collections for which the current user is admin, AND which match the query.AuthorizeService.findAdminAuthorizedCommunity(Context context, String query, int offset, int limit) Finds communities for which the current user is admin, AND which match the query. -
Uses of SearchServiceException in org.dspace.content
Methods in org.dspace.content that throw SearchServiceExceptionModifier and TypeMethodDescriptionintCollectionServiceImpl.countCollectionsWithSubmit(String q, Context context, Community community) intCollectionServiceImpl.countCollectionsWithSubmit(String q, Context context, Community community, String entityType) intItemServiceImpl.countItemsWithEdit(Context context) CollectionServiceImpl.findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit) CollectionServiceImpl.findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit) ItemServiceImpl.findItemsWithEdit(Context context, int offset, int limit) DuplicateDetectionServiceImpl.getPotentialDuplicates(Context context, Item item) Get a list of PotentialDuplicate objects (wrappers with some metadata included for previewing) that are identified as potential duplicates of the given itemDuplicateDetectionServiceImpl.searchDuplicates(Context context, Item item) Search discovery for potential duplicates of a given item. -
Uses of SearchServiceException in org.dspace.content.service
Methods in org.dspace.content.service that throw SearchServiceExceptionModifier and TypeMethodDescriptionintCollectionService.countCollectionsWithSubmit(String q, Context context, Community community) Counts the number of Collection for which the current user has 'submit' privileges.intCollectionService.countCollectionsWithSubmit(String q, Context context, Community community, String entityType) Counts the number of Collection for which the current user has 'submit' privileges.intItemService.countItemsWithEdit(Context context) counts all items for which the current user has editing rightsCollectionService.findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit) Returns Collections for which the current user has 'submit' privileges.CollectionService.findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit) Returns Collections for which the current user has 'submit' privileges.ItemService.findItemsWithEdit(Context context, int offset, int limit) finds all items for which the current user has editing rightsDuplicateDetectionService.getPotentialDuplicates(Context context, Item item) Get a list of PotentialDuplicate objects (wrappers with some metadata included for previewing) that are identified as potential duplicates of the given itemDuplicateDetectionService.searchDuplicates(Context context, Item item) Search discovery for potential duplicates of a given item. -
Uses of SearchServiceException in org.dspace.discovery
Methods in org.dspace.discovery that throw SearchServiceExceptionModifier and TypeMethodDescriptionvoidSolrServiceSearchPlugin.additionalSearchParameters(Context context, DiscoverQuery discoveryQuery, org.apache.solr.client.solrj.SolrQuery solrQuery) Edits the solr query before it is sent to solr by adding additional parameters to it.voidSolrServiceWorkspaceWorkflowRestrictionPlugin.additionalSearchParameters(Context context, DiscoverQuery discoveryQuery, org.apache.solr.client.solrj.SolrQuery solrQuery) voidIndexingService.buildSpellCheck()voidSolrServiceImpl.buildSpellCheck()SearchService.calculateExtremeValue(Context context, String valueField, String sortField, DiscoverQuery.SORT_ORDER sortOrder) This method returns us either the highest or lowest value for the field that we give to it depending on what sortOrder we give this method.SolrServiceImpl.calculateExtremeValue(Context context, String valueField, String sortField, DiscoverQuery.SORT_ORDER sortOrder) voidFacetYearRange.calculateRange(Context context, List<String> filterQueries, IndexableObject scope, SearchService searchService, DiscoverQuery parentQuery) protected voidIndexClient.checkRebuildSpellCheck(org.apache.commons.cli.CommandLine line, IndexingService indexer) Check the command line options and rebuild the spell check if active.voidIndexingService.cleanIndex()voidSolrServiceImpl.cleanIndex()Iterates over all documents in the Lucene index and verifies they are in database, if not, they are removed.voidIndexingService.commit()voidSolrServiceImpl.commit()SearchService.getFacetYearRange(Context context, IndexableObject scope, DiscoverySearchFilterFacet facet, List<String> filterQueries, DiscoverQuery parentQuery) SolrServiceImpl.getFacetYearRange(Context context, IndexableObject scope, DiscoverySearchFilterFacet facet, List<String> filterQueries, DiscoverQuery parentQuery) voidIndexingService.indexContent(Context context, IndexableObject dso, boolean force, boolean commit) voidIndexingService.indexContent(Context context, IndexableObject dso, boolean force, boolean commit, boolean preDb) Index a given DSOvoidSolrServiceImpl.indexContent(Context context, IndexableObject dso, boolean force, boolean commit) voidSolrServiceImpl.indexContent(Context context, IndexableObject indexableObject, boolean force, boolean commit, boolean preDb) SearchService.iteratorSearch(Context context, IndexableObject dso, DiscoverQuery query) Convenience method to call @see #search(Context, DSpaceObject, DiscoverQuery) and getting an iterator for the resultsSolrServiceImpl.iteratorSearch(Context context, IndexableObject dso, DiscoverQuery query) voidIndexingService.optimize()protected booleanSolrServiceImpl.requiresIndexing(String uniqueId, Instant lastModified) Is stale checks the lastModified time stamp in the database and the index to determine if the index is stale.protected org.apache.solr.client.solrj.SolrQuerySolrServiceImpl.resolveToSolrQuery(Context context, DiscoverQuery discoveryQuery) protected DiscoverResultSolrServiceImpl.retrieveResult(Context context, DiscoverQuery query) SearchService.search(Context context, DiscoverQuery query) Convenient method to callSearchService.search(Context, DSpaceObject, DiscoverQuery)with a null DSpace Object as scope (i.e. all the repository)SearchService.search(Context context, IndexableObject dso, DiscoverQuery query) Convenient method to call @see #search(Context, DSpaceObject, DiscoverQuery, boolean) with includeWithdrawn=falseSolrServiceImpl.search(Context context, DiscoverQuery discoveryQuery) SolrServiceImpl.search(Context context, IndexableObject dso, DiscoverQuery discoveryQuery) -
Uses of SearchServiceException in org.dspace.discovery.utils
Methods in org.dspace.discovery.utils that throw SearchServiceExceptionModifier and TypeMethodDescriptionDiscoverQueryBuilder.buildQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String query, List<QueryBuilderSearchFilter> searchFilters, String dsoType, Integer pageSize, Long offset, String sortProperty, String sortDirection) Build a discovery queryDiscoverQueryBuilder.buildQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String query, List<QueryBuilderSearchFilter> searchFilters, List<String> dsoTypes, Integer pageSize, Long offset, String sortProperty, String sortDirection) Build a discovery query -
Uses of SearchServiceException in org.dspace.profile
Methods in org.dspace.profile that throw SearchServiceExceptionModifier and TypeMethodDescriptionResearcherProfileServiceImpl.createAndReturn(Context context, EPerson ePerson) -
Uses of SearchServiceException in org.dspace.profile.service
Methods in org.dspace.profile.service that throw SearchServiceExceptionModifier and TypeMethodDescriptionClaims and links an eperson to an existing DSpaceObjectResearcherProfileService.createAndReturn(Context context, EPerson ePerson) Create a new researcher profile for the given ePerson. -
Uses of SearchServiceException in org.dspace.subscriptions.objectupdates
Methods in org.dspace.subscriptions.objectupdates that throw SearchServiceExceptionModifier and TypeMethodDescriptionCollectionUpdates.findUpdates(Context context, DSpaceObject dSpaceObject, String frequency) CommunityUpdates.findUpdates(Context context, DSpaceObject dSpaceObject, String frequency) -
Uses of SearchServiceException in org.dspace.subscriptions.service
Methods in org.dspace.subscriptions.service that throw SearchServiceExceptionModifier and TypeMethodDescriptionDSpaceObjectUpdates.findUpdates(Context context, DSpaceObject dSpaceObject, String frequency) Send an email to some addresses, concerning a Subscription, using a given dso.