Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating parent entries is inefficient #2

Open
datenimperator opened this issue Apr 21, 2014 · 0 comments
Open

Updating parent entries is inefficient #2

datenimperator opened this issue Apr 21, 2014 · 0 comments

Comments

@datenimperator
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant