Fix for ALF-11042

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2011-10-31 09:54:00 +00:00
parent fb94996c61
commit fa7854a9aa
2 changed files with 14 additions and 1 deletions

View File

@@ -103,6 +103,9 @@
<property name="extensionName">
<value>search</value>
</property>
<property name="searchSubsystem">
<value>${index.subsystem.name}</value>
</property>
<property name="serviceRegistry">
<ref bean="ServiceRegistry"/>
</property>

View File

@@ -77,6 +77,7 @@ public class Search extends BaseScopableProcessorExtension
/** Repository helper */
protected Repository repository;
private String searchSubsystem;
/**
* Set the default store reference
@@ -113,9 +114,18 @@ public class Search extends BaseScopableProcessorExtension
this.repository = repository;
}
public void setSearchSubsystem(String searchSubsystem)
{
this.searchSubsystem = searchSubsystem;
}
// JavaScript API
public String getSearchSubsystem()
{
return searchSubsystem;
}
/**
* Find a single Node by the Node reference
*