mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Index rebuld and vlidation support for AVM.
Added AVM indexes to the configuration checker git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5818 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -211,10 +211,10 @@ public class ConfigurationChecker extends AbstractLifecycleBean
|
||||
for (StoreRef storeRef : storeRefs)
|
||||
{
|
||||
// TODO: For now, do not check existence of index for AVM stores
|
||||
if (storeRef.getProtocol().equals(StoreRef.PROTOCOL_AVM))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
//if (storeRef.getProtocol().equals(StoreRef.PROTOCOL_AVM))
|
||||
//{
|
||||
// continue;
|
||||
//}
|
||||
|
||||
NodeRef rootNodeRef = null;
|
||||
try
|
||||
@@ -237,7 +237,7 @@ public class ConfigurationChecker extends AbstractLifecycleBean
|
||||
SearchParameters sp = new SearchParameters();
|
||||
sp.addStore(storeRef);
|
||||
sp.setLanguage(SearchService.LANGUAGE_LUCENE);
|
||||
sp.setQuery("ID:" + LuceneQueryParser.escape(rootNodeRef.toString()));
|
||||
sp.setQuery("ISROOT:T");
|
||||
|
||||
ResultSet results = null;
|
||||
int size = 0;
|
||||
|
Reference in New Issue
Block a user