Filter attribute at query

I know we can set unretrievable attributes for whole indices, but I need an attribute on an index which will be retrievable for my backend but not the frontend user search.
Is there a setting in the query to remove an attribute from the results?
I need something like this:, {removeAttributes: ['business_name', 'categories']})

HI @kickbk, if you are using instantsearch, you can use the tranformItems option to remove the attribute before the hits are displayed.