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.

AttachmentSize
apachesolr_cache.patch3.39 KB

#1

robertDouglass - November 12, 2009 - 13:10

Just for fun, compare the patch that I made to do the same this morning :)

AttachmentSize
cache_apachesolr.patch 2.98 KB

#2

JacobSingh - November 12, 2009 - 13:15
Component:SolrPHP Client» Code

$$bill ya'll :P

I think this is a good commit any objections?

#3

robertDouglass - November 12, 2009 - 13:18
Version:6.x-2.x-dev» 5.x-2.x-dev
Status:needs review» patch (to be ported)

Committed to 6.1 and 6.2.

Claudiu, you'll need to edit .install so that it creates the table and does the update.

AttachmentSize
cache_apachesolr.patch 1.65 KB

#4

joshk - November 12, 2009 - 16:57

@RobertDouglas: description and default serialization FTW!

#5

pwolanin - November 13, 2009 - 15:05

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.

AttachmentSize
fu-630798-4-D6.patch 2 KB
 
 

Drupal is a registered trademark of Dries Buytaert.