plone/Products.PloneOrg — pull request #4 by hannosch (2012-03-24 21:58:08+00:00)
Title: Add and use a file-system based queryplan

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.