Hi guys, is there an easy way to exclude a documen...
# community-help
j
Hi guys, is there an easy way to exclude a document base on a certain criteria?
k
Check overrides/curation in the docs.
j
for filtering @Kishore Nallan
ah thanks man
j
I’d like to exclude documents based on if a certain ID is present in an array field. I can include documents using filter_by, but it doesn’t look like there’s an explicit way to exclude. I read the overrides/curation docs - this is at the collection level. Is there a way to exclude at the search level?
Found a solution! For someone’s reference, use the ! as an exclude/inverse operator: search_parameters[‘filter_by’] = f’exported_by_client_id:!={client_id}'