useSearchBox => refine Searching By Specific Attribute

Hi everyone,

I am using the refine function from the useSearchBox React hook to search for data, but I need to perform multiple searches on different attributes in the Algolia data set.

From what I read in the documentation, I am able to search data using refine(“string”) but this searches against all searchable attributes. Is there a way I can define what attributes it should search?

Thank you,