Skip to content

Updating parent entries is inefficient #2

@datenimperator

Description

@datenimperator

A page part isn't searchable on its own, it only exists within the context of a page. However, editing text of a content page will most likely only update one or more of its parts. The page itself won't be updated, so the page's after_commit handler will never be fired.

Currently a page part will call page.update_index when updated or deleted. Updating more than one page part will lead to more than one invocations of update_index of the very same page, which is not very efficient.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions