Closed ArcoMul closed 2 years ago
@ArcoMul It sounds like you might be using SearchClient
which only supports search operations. You want to use Client
if you want to fetch documents by ID.
Aii you are right, I didn't see/remember that part of the documentation. Thank you for your swift reply!
Description
According to the docs I can do:
See: https://typesense.org/docs/0.22.2/api/documents.html#retrieve-a-document
But the
.retrieve()
function doesn't exist on what is returned fromdocuments()
Steps to reproduce
-
Expected Behavior
Being able to retrieve a single document
Actual Behavior
Metadata
Typsense Version: 0.22.2 Typsense JS Version: 1.3.0