-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Plugin Version
v0.4.6
Proposed functionality
When the indexed fields of a Custom Object Type are updated, we should run a reindex (see reindex.py management command) to re-cache all stored objects of that type and reevaluate their indexed fields based on updated weights.
Should also happen on field creation (only relevant when a default value is set and auto-populates existing records) and deletion.
Use case
Custom Objects are indexed for search according to the weights assigned to their fields at the time of the object's creation/update. This means if the weights on the fields are changed, the weights on the Custom Objects remain the same. This leads to incorrect search result behavior for all objects of types whose fields' search weights change while objects of that type exist.
External dependencies
No response