algoliasearch-django icon indicating copy to clipboard operation
algoliasearch-django copied to clipboard

Dynamic way to use multiple indexes per models

Open clemfromspace opened this issue 6 years ago • 3 comments

Hello there :)

Recently, I found myself in the needs to add multiple indexes per models, but in a dynamic way.

I used django-hvad for the model translations, and needed to "route" the models to a different index based on the language_code field of the model.

Do you know how if there is a way I could achieve this ?

clemfromspace avatar May 05 '18 18:05 clemfromspace