Hi,
It is supposed to run 'index_elastic' when you save 'Item' entity.
And to run 'new_index_elastic' when you save 'Newmodel' entity.
May be the reason why you do not see proper logs that in your code all
operations with entity are done based on 'Item' class?
Hope that helps.
Regards,
Constanti
I'm using a proxy model, so that I can use Elastic search on the same model
using two different serialisers.
However, the new_index_elastic function never runs (ie I never see the
print, and my NewModel never gets indexed).
How would I do this?
class Item(EsIndexable, models.Model):
title
2 matches
Mail list logo