Package org.dspace.app.iiif.service
Class SearchService
java.lang.Object
org.dspace.app.iiif.service.AbstractResourceService
org.dspace.app.iiif.service.SearchService
This service provides methods for creating
Search API response. There should be a single instance of
this service per request. The @RequestScope provides a single instance created and available during
complete lifecycle of the HTTP request.-
Field Summary
Fields inherited from class org.dspace.app.iiif.service.AbstractResourceService
BITSTREAM_PATH_PREFIX, CLIENT_URL, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, defaultCanvasHeightFallback, defaultCanvasWidthFallback, DOCUMENT_VIEWING_HINT, IIIF_ENDPOINT, IIIF_LOGO_IMAGE, IMAGE_PATH, IMAGE_SERVICE, SEARCH_URL, THUMBNAIL_PATH -
Constructor Summary
ConstructorsConstructorDescriptionSearchService(org.dspace.services.ConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptionsearchWithinManifest(UUID uuid, String query) Executes a search query for items in the current manifest.Methods inherited from class org.dspace.app.iiif.service.AbstractResourceService
getManifestId, setConfiguration, setDefaultCanvasDimensions
-
Constructor Details
-
SearchService
public SearchService(org.dspace.services.ConfigurationService configurationService)
-
-
Method Details
-
searchWithinManifest
Executes a search query for items in the current manifest. A search plugin must be enabled.- Parameters:
uuid- dspace item uuidquery- the solr query- Returns:
- IIIF search result with page coordinate annotations.
- Throws:
NotImplementedException
-