algolia icon indicating copy to clipboard operation
algolia copied to clipboard

Searchable attributes in the config file are not added to algolia

Open lallenfrancisl opened this issue 3 years ago • 4 comments

Right now although the searchable attributes are specified in the config file they are still hardcoded in algolia-indexer and algolia fragmenter. So what should be the right thing would be to use the values from the config file when constructing the object to pass to algolia.

lallenfrancisl avatar Jun 26 '21 01:06 lallenfrancisl

I could help with this if the team is okay with it

lallenfrancisl avatar Jun 26 '21 01:06 lallenfrancisl

@lallenfrancisl Sorry about this late response, totally fell through!! Always happy to receive PRs 🤗

aileen avatar Sep 09 '21 11:09 aileen

Oh great I will try to work on the issue this weekend

lallenfrancisl avatar Sep 10 '21 06:09 lallenfrancisl

I came here to post this. I'd call it a bug, not an enhancement, because it makes it impossible to use the netlify-algolia package to keep posts in sync with Algolia for anyone wanting to use filtering. Every time the webhook calls the function, the whole Algolia index settings get reset to using only slugs for faceting, which breaks the filtering I need for functionality on my client's full text search.

@lallenfrancisl , did you come up with a fix? Or should I try to take a stab at it?

cathysarisky avatar Feb 28 '23 17:02 cathysarisky