mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ACE-2092: EOL Lucene
- 1) Removed all "lucene" stuff from the admin screens. - ERRORed on sub-system start up that lucene is unsupported - 3) Hid "lucene" subsystem from JMX so that it is not registered. - TODO: - 2) Rename "lucene" to "buildonly" in core-services-context.xml - 4) Change the default in repository.properties to "noindex" - 5) Fix the build environment via Samuel - Add to ERROR message about upgrading to Solr git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@86346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -26,6 +26,7 @@ import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||
import org.springframework.extensions.surf.util.I18NUtil;
|
||||
|
||||
public class FullTextSearchIndexerBootstrapBean extends AbstractLifecycleBean
|
||||
{
|
||||
@@ -38,6 +39,10 @@ public class FullTextSearchIndexerBootstrapBean extends AbstractLifecycleBean
|
||||
@Override
|
||||
protected void onBootstrap(ApplicationEvent event)
|
||||
{
|
||||
// Internationalizes the message
|
||||
String errorMsg = I18NUtil.getMessage("system.err.lucene_not_supported");
|
||||
log.error(errorMsg);
|
||||
|
||||
List<StoreRef> storeRefs = nodeService.getStores();
|
||||
for (StoreRef storeRef : storeRefs)
|
||||
{
|
||||
|
Reference in New Issue
Block a user