Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Searchable attributes in the config file are not added to algolia #23

Open
lallenfrancisl opened this issue Jun 26, 2021 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@lallenfrancisl
Copy link

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
Copy link
Author

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

@aileen
Copy link
Member

aileen commented Sep 9, 2021

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

@aileen aileen added the enhancement New feature or request label Sep 9, 2021
@lallenfrancisl
Copy link
Author

lallenfrancisl commented Sep 10, 2021

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

@cathysarisky
Copy link

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants