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:
Ahmed Owian
2014-10-03 04:46:29 +00:00
parent 7cf754053f
commit 1cc565d659
3 changed files with 7 additions and 2 deletions

View File

@@ -1075,8 +1075,7 @@
</property>
<property name="instancePath">
<list>
<value>managed</value>
<value>lucene</value>
<value>hidden</value>
</list>
</property>
</bean>

View File

@@ -5,6 +5,7 @@
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.lucene_not_supported=The lucene search subsystem is not supported.
# Bootstrap configuration check messages

View File

@@ -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)
{