}
private CacheConfiguration tweakCacheConfiguration(CacheConfiguration cacheConfiguration) {
// Set searchable index
Searchable uidToDocumentCacheSearchable = new Searchable();
uidToDocumentCacheSearchable.addSearchAttribute(new SearchAttribute().name("ObjectId")
.expression("value.getObjectId().toString()"));
uidToDocumentCacheSearchable.addSearchAttribute(new SearchAttribute().name("VersionFromInstant")
.className("com.opengamma.master.cache.InstantExtractor"));
uidToDocumentCacheSearchable.addSearchAttribute(new SearchAttribute().name("VersionToInstant")
.className("com.opengamma.master.cache.InstantExtractor"));
uidToDocumentCacheSearchable.addSearchAttribute(new SearchAttribute().name("CorrectionFromInstant")
.className("com.opengamma.master.cache.InstantExtractor"));
uidToDocumentCacheSearchable.addSearchAttribute(new SearchAttribute().name("CorrectionToInstant")
.className("com.opengamma.master.cache.InstantExtractor"));
cacheConfiguration.addSearchable(uidToDocumentCacheSearchable);
// Make copies of cached objects
CopyStrategyConfiguration copyStrategyConfiguration = new CopyStrategyConfiguration();