docsearch-scraper icon indicating copy to clipboard operation
docsearch-scraper copied to clipboard

[core] Setting attributesForFaceting from the config overrides Algolia settings

Open s-pace opened this issue 6 years ago • 2 comments

Situation

When a configuration includes custom_settings.attributesForFaceting, the index's setting attributesForFaceting does not include tags anymore. This override the default_settings defined by the strategy. tags defined from start_urls are not longer handled as attributesForFaceting

Result:

It might broke the search for owner filtering over tags and break the search. Happens a lot with people using meta tags.

Workaround

Make sure configuration defines tags as a item from the collection custom_settings.attributesForFaceting

s-pace avatar Sep 13 '19 13:09 s-pace

<tags custom_settings.attributesForFaceting> tags<attributesForFaceting> <Bug attributesForFaceting[](default_overrides >

JOHNMDAY-CREATE avatar Oct 07 '20 12:10 JOHNMDAY-CREATE

`<tags=Custom_settings.attributesForFaceting>`` Tags<start_urls>#490

JOHNMDAY-CREATE avatar Oct 17 '20 15:10 JOHNMDAY-CREATE