Request DTO of a most similars search.
| name | data type | description |
|---|---|---|
| metric | string | Metric to use. When not specified default metric will be used. |
| query | string | Query molecule. |
| w | number | Width of the target images in pixel. |
| h | number | Height of the target images in pixel. |
| count | number | Maximal number of most similar targets to find. Not recommended, use maxCount. When both count and maxCount are specified the larger will be considered. |
| maxCount | number | Maximal number of most similar targets to find. |
| maxDissimilarity | number | Maximal dissimilarity to return; inclusive. When no target passes the dissimilarity limit a WuiNotFoundException is throw resulting in a "Not found (404)" response status. |
| base64img | boolean | true when Base64 encoded target images are requested.
|
Example
{
"metric" : "...",
"query" : "...",
"w" : 12345,
"h" : 12345,
"count" : 12345,
"maxCount" : 12345,
"maxDissimilarity" : 12345.0,
"base64img" : true
}