Has anyone thought of adding cache support to apachesolr? We have lots of people searching for the exact same term. We get over 100,000 per day with only 6 different terms? We are about to deploy memcache, and thought why not cache the solr search. If we make the cache key the querystring for solr, it should be easy to look things up in the cache. We index our site at midnight, each day, so we can clear the cache then.

This adds a huge layer to solr, and solr is fast out of the box, so it may not be needed.

Thoughts?

Comments

robertdouglass’s picture

It's not a bad idea, but Solr already has its own caching layer, so I wonder how much you'd get from memcache vs. increasing the memory available to the Solr JVM. There are no benchmarks here, so you're the trailblazer.

robertdouglass’s picture

Status: Active » Postponed

Won't be considered for 1.0 release. Can be reopened later, if needed.

JacobSingh’s picture

Status: Postponed » Closed (duplicate)