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:
@@ -1075,8 +1075,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="instancePath">
|
<property name="instancePath">
|
||||||
<list>
|
<list>
|
||||||
<value>managed</value>
|
<value>hidden</value>
|
||||||
<value>lucene</value>
|
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
system.err.property_not_set=Property ''{0}'' has not been set: {1} ({2})
|
system.err.property_not_set=Property ''{0}'' has not been set: {1} ({2})
|
||||||
system.err.duplicate_name=Duplicate child name not allowed: {0}
|
system.err.duplicate_name=Duplicate child name not allowed: {0}
|
||||||
|
system.err.lucene_not_supported=The lucene search subsystem is not supported.
|
||||||
|
|
||||||
# Bootstrap configuration check messages
|
# Bootstrap configuration check messages
|
||||||
|
|
||||||
|
@@ -26,6 +26,7 @@ import org.apache.commons.logging.Log;
|
|||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.springframework.context.ApplicationEvent;
|
import org.springframework.context.ApplicationEvent;
|
||||||
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||||
|
import org.springframework.extensions.surf.util.I18NUtil;
|
||||||
|
|
||||||
public class FullTextSearchIndexerBootstrapBean extends AbstractLifecycleBean
|
public class FullTextSearchIndexerBootstrapBean extends AbstractLifecycleBean
|
||||||
{
|
{
|
||||||
@@ -38,6 +39,10 @@ public class FullTextSearchIndexerBootstrapBean extends AbstractLifecycleBean
|
|||||||
@Override
|
@Override
|
||||||
protected void onBootstrap(ApplicationEvent event)
|
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();
|
List<StoreRef> storeRefs = nodeService.getStores();
|
||||||
for (StoreRef storeRef : storeRefs)
|
for (StoreRef storeRef : storeRefs)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user