Re-index items which use an item that is updated

Description

Current situation

When updating (for example) a keyword title, the taxonomy filters are not updated

Required situation

When updating a content item all items which use it should be added to the indexation queue

Technical approach

Event listener to query relations.references.$id for the current document. Add all requests to the Solr queue. Note: for performance reasons there will be a hardcoded limit in number of items that will be queued, until we have a system to move this process to the background. At this time the process may take 20 seconds as a maximum. Installations with a large number of link to items may require a manual reindex after updating a heavy used item.

Environment

None

Technical tasks

None

Deployment actions

None

Status

Assignee

Unassigned

Reporter

Marijn Otte

Product owner

None

Plan date

None

Follow up date

None

Code reviewer

Jeroen van Leeuwen

Developer

Jan Sanne Mulder

Refiner

None

Dev hour estimate

None

Switches

None

Max. hours

None

External issue ID

None

Error message

None

Min. hours

None

Fix versions

Priority

24h
Configure