fixed failing index tests - removed client cache check from IndexFactoryBean since there is no easy way to tell
This commit is contained in:
@@ -51,8 +51,6 @@ public class IndexFactoryBean implements InitializingBean, BeanNameAware, Factor
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
if (queryService == null) {
|
||||
if (cache != null) {
|
||||
Assert.isTrue(!ClientCache.class.isAssignableFrom(cache.getClass()),
|
||||
"You cannot create an index from a client cache");
|
||||
queryService = cache.getQueryService();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user