Skip to content

getDocument can't use retrieveVectors #809

@tognee

Description

@tognee

Description
The documentation says you can get the vector data from a single document by passing retrieveVectors as well.

https://www.meilisearch.com/docs/reference/api/documents#get-one-document

Expected behavior
Pass retrieveVectors: true to getDocument and get the vector data

Current behavior
getDocument signature doesn't include retrieveVectors

public function getDocument($documentId, ?array $fields = null)

https://github.com/meilisearch/meilisearch-php/blob/main/src/Endpoints/Delegates/HandlesDocuments.php#L15C5-L15C68

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions