Skip to content

fix: add ability to include/exclude fields for a single document#326

Open
DDeenis wants to merge 1 commit intotypesense:masterfrom
DDeenis:feat/doc-retrieve-params
Open

fix: add ability to include/exclude fields for a single document#326
DDeenis wants to merge 1 commit intotypesense:masterfrom
DDeenis:feat/doc-retrieve-params

Conversation

@DDeenis
Copy link

@DDeenis DDeenis commented Feb 2, 2026

Change Summary

Added optional options parameter to Document.retrieve() method. The new parameter includes include_fields and exclude_fields options, which are being passed to the api client as query parameters.
Resolves #325

PR Checklist

Copy link
Collaborator

@tharropoulos tharropoulos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: add include_fields and exclude_fields parameters to Document.retrieve()

2 participants