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

Already on GitHub? Sign in to your account

Add and use a file-system based queryplan #4

Merged
merged 2 commits into from Mar 28, 2012

Conversation

Projects
None yet
2 participants
Owner

hannosch commented Mar 24, 2012

I dumped a queryplan from the live plone.org and instrumented Plone to load it on instance startup (via the environment variable).

This speeds up catalog searches right after startup/restart as the catalog doesn't have to start with an empty plan. The plan is still updated with new data on each query, so even if the content in the live site diverges, it won't be much of a problem. You still get a decent plan instead of none.

@davisagli davisagli merged commit f21ed68 into plone:master Mar 28, 2012

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