I’m using Laravel and Vue InstantSearch for my website.
I’ve created a custom admin cms for the website where the admin can create and edit the type of information collected from users when they create a profile, this information is then used in the search.
I was wonder if it was possible for “attributes for faceting” to be dynamic created from Laravel and not have to be added each time in the Algolia dashboard ?
For example if the sites admin creates a category of “music genre” with children values of “blues”, “jazz”, etc.
Could “music genre” be made a “attribute for faceting” by laravel when it is sent to algolia rather than after it’s creation in the Algolia dashboard ?
$profile[$category_parent] = $category->name;
This works when sent from the profile modal to algolia however I then need to go into the algolia dashboard to make it an “attribute for faceting”.
Maybe I’m asking for too much, however I’m curious if this is possible.
Thanks in advance for any advice.