XML Configuration Reference : Search : ThumbnailCommand
 
ThumbnailCommand
com.exalead.mercury.mami.search.v20.ThumbnailCommand
Abstract class for a fetch command.
Parent elements:
com.exalead.mercury.mami.search.v20.SearchAPIConfig (as SearchAPIConfig)
Attributes:
Name
Type
Default value
Description
base
string
/search-api
HTTP path for this command
maxConcurrentComputations
int
4
Maximum number of concurrent thumbnail computations. Thumbnail queries that do not require a computation (cache hits) are not considered.
defaultWidth
int
120
Width of the computed thumbnail, if not specified in request
defaultHeight
int
90
Height of the computed thumbnail, if not specified in request
allowUnsecurePrecomputedThumbnails
boolean
When security is enforced on the fetch request, should a precomputed thumbnail be returned, if any. Security is not enforced on precomputed thumbnails: any logged user knowing the URL of a document could retrieve its precomputed thumbnail.
convertAddresses
string
Semicolon separated list of convert instance names or urls to use.
Nested elements:
Name
Type
Description
ThumbnailsCache
com.exalead.mercury.mami.search.v20.ThumbnailsCache
Cache for the thumbnails computed on the fly