At the moment the only way to update the indexes is to run the update_vector_indexes management command. This gives developers control over when embedding API costs are incurred.
It would be nice if there was an option to add/update items in the index when they are published/saved.
Some considerations:
- As this could get expensive on edit-heavy sites, it might make sense to have this feature disabled by default
- There may be cause to only auto-update certain models rather than every registered model/index.
At the moment the only way to update the indexes is to run the
update_vector_indexesmanagement command. This gives developers control over when embedding API costs are incurred.It would be nice if there was an option to add/update items in the index when they are published/saved.
Some considerations: