#community-help

Troubleshooting exclude_fields in Typesense

TLDR Vadali reported an issue with exclude_fields, but later discovered a bug in their own query.

Powered by Struct AI

1

4
8mo
Solved
Join the chat
Apr 05, 2023 (8 months ago)
Vadali
Photo of md5-9d59321652a939577b5e5c71af5398d5
Vadali
01:21 AM
Seems like exclude_fields is not working. I have a data set in typesense, like to get complete document except few fields, i added those fields to exclude list, but I am seeing those fileds in result
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
01:27 AM
Could you share a curl command that replicates the issue?
01:28
Jason
01:28 AM
Could you clone this snippet and adapt it with your schema, add two sample docs and then update the search query to replicate the issue: https://gist.github.com/jasonbosco/7c3432713216c378472f13e72246f46b
Vadali
Photo of md5-9d59321652a939577b5e5c71af5398d5
Vadali
01:37 AM
sorry I think i complained too early, we found bug in our query. Sorry for that. Thank you

1