-
It is a pretty common use case. Let's say I have a collection of oil paintings. Each one has been indexed already. When user opens one painting, I want to find out similar paintings that might be of interest for the user. Since the current one has already been indexed, it is a waste to resubmit the image url for downloading and preprocessing, as per the api in documentation:
Is there an api to search by already indexed entries to find out similar ones? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @lanyusan , searching directly with a document is not yet supported (see #237). However, you could do it another way which is to get the document and its vector then search using that vector as context. |
Beta Was this translation helpful? Give feedback.
Hi @lanyusan , searching directly with a document is not yet supported (see #237). However, you could do it another way which is to get the document and its vector then search using that vector as context.
https://marqo.pages.dev/0.0.18/API-Reference/search/#context
https://marqo.pages.dev/0.0.18/API-Reference/documents/#get-one-document