Override default list of retrievable attributes for the current search

Hey guys,

I was trying to find an object and filter the result base on object sku but only return the object ‘title’ attribute, the object was returned but with a whole bunch of other attributes like tags, handle etc.

Can anyone tell me why? See code below for details.


async findObjectOnSKU(sku:string){
    this._index.search(`${sku}`, {
        attributesToRetrieve: ['title'],
        filters: `sku:${sku}`
    then((res: any) => {