-
New Feature
-
Resolution: Fixed
-
Major
-
4.0M7
-
None
#indexSite and #indexSitemap methods do a commit whereas #indexPage don't
#indexSite and #indexSitemap work on all workspaces whereas #indexPage works only on current workspace.
For consistency purpose, theses methods should be review on same model.
To allow some optimization, we can add a boolean "commit" to do commit or not
public void indexPage(Page page, boolean indexRecursively) throws Exception; public void indexPage(Page page, boolean indexRecursively, boolean commit) throws Exception; public void indexPage(String pageId, String workspaceName, boolean indexRecursively) throws Exception; public void indexPage(String pageId, String workspaceName, boolean indexRecursively, boolean commit) throws Exception;