commitChanges(workspaceName);
commitChanges(workspaceName);
protected void reindexSystemContent() { RepositoryCache repoCache = runningState.repositoryCache(); String workspaceName = repoCache.getSystemWorkspaceName(); NodeCache systemWorkspaceCache = repoCache.getWorkspaceCache(workspaceName); CachedNode systemNode = systemWorkspaceCache.getNode(repoCache.getSystemKey()); if (reindexContent(workspaceName, systemWorkspaceCache, systemNode, Integer.MAX_VALUE, true, getIndexWriter())) { commitChanges(workspaceName); } }
protected void reindexSystemContent() { RepositoryCache repoCache = runningState.repositoryCache(); String workspaceName = repoCache.getSystemWorkspaceName(); NodeCache systemWorkspaceCache = repoCache.getWorkspaceCache(workspaceName); CachedNode systemNode = systemWorkspaceCache.getNode(repoCache.getSystemKey()); if (reindexContent(workspaceName, systemWorkspaceCache, systemNode, Integer.MAX_VALUE, true, getIndexWriter())) { commitChanges(workspaceName); } }
if (node.getKey().getWorkspaceKey().equals(systemWorkspaceKey)) { if (reindexSystemContent(node, depth, getIndexWriter())) { commitChanges(systemWorkspaceName); commitChanges(workspaceName);
if (node.getKey().getWorkspaceKey().equals(systemWorkspaceKey)) { if (reindexSystemContent(node, depth, getIndexWriter())) { commitChanges(systemWorkspaceName); commitChanges(workspaceName);
commitChanges(systemWorkspaceName); logger.debug("Starting reindex of workspace '{0}' content in '{1}' repository.", runningState.name(), workspaceName); if (reindexContent(workspaceName, workspaceCache, rootNode, Integer.MAX_VALUE, false, indexes)) { commitChanges(workspaceName);
if (reindexContent(workspaceName, workspaceCache, node, Integer.MAX_VALUE, scanSystemContent, writer)) { commitChanges(workspaceName);
commitChanges(systemWorkspaceName); logger.debug("Starting reindex of workspace '{0}' content in '{1}' repository.", runningState.name(), workspaceName); if (reindexContent(workspaceName, workspaceCache, rootNode, Integer.MAX_VALUE, false, indexes)) { commitChanges(workspaceName);
if (reindexContent(workspaceName, workspaceCache, node, Integer.MAX_VALUE, scanSystemContent, writer)) { commitChanges(workspaceName);