Implement cache_apachesolr table
joshk - November 12, 2009 - 12:54
| Project: | Apache Solr Search Integration |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | joshk |
| Status: | patch (to be ported) |
Description
Cache rules everything around me.
This is sorta important because if you want to use apachesolr and memcached, the wildcard clearing causes a general cache wipe, and thus a lot of expensive rebuilds.
| Attachment | Size |
|---|---|
| apachesolr_cache.patch | 3.39 KB |

#1
Just for fun, compare the patch that I made to do the same this morning :)
#2
$$bill ya'll :P
I think this is a good commit any objections?
#3
Committed to 6.1 and 6.2.
Claudiu, you'll need to edit .install so that it creates the table and does the update.
#4
@RobertDouglas: description and default serialization FTW!
#5
I don't think we need to set the serialized value if we are using cache_set() - in fact, doing so seems not to have any effect based on the cache_set() code.
Committing this minor follow-up also to the 6 branches.