rank.by id

Search by an indexed example image and retrieve visually similar images. The example image is set with the parameter rank.by=id:123. The value might be a number or a string according to the configured <uniqueKey> field in the schema.

It is only possible to search for one id at a time. If a given id or its corresponding image descriptor does not exist in the index, an empty result will be returned.

The following example returns similar images to the indexed input image with id 123: