One method is to use a rule and pass the restrictSearchableAttributes parameter as a query parameter.
To do this, you can use the Manual rule editor in your Algolia dashboard or the API. In this example we will use the Manual rule editor for simplicity.
1. Add a rule condition like the one below:
2. Assuming that the current searchable attributes are ['name', 'description', 'brand', 'manufacturer'] and we only want to pull results from the name and brand attributes, we can configure the restriction like this: