algolia / docsearch-scraper

DocSearch - Scraper
https://docsearch.algolia.com/
Other
306 stars 106 forks source link

[core] Setting attributesForFaceting from the config overrides Algolia settings #490

Open s-pace opened 5 years ago

s-pace commented 5 years ago

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

JOHNMDAY-CREATE commented 3 years ago
tags
JOHNMDAY-CREATE commented 3 years ago

``` Tags#490