79471589

Date: 2025-02-27 04:28:13
Score: 2
Natty:
Report link

Now there is a restrictSearchableAttributes feature that allows changing the searchable attributes on each request

$results = $index->search('query', [
  'restrictSearchableAttributes' => [
    'name',
  ]
]);

https://www.algolia.com/doc/api-reference/api-parameters/restrictSearchableAttributes/?client=php#how-to-use

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wattsy2020