Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7520

[Solr] Inconsistency between #indexSite(map) methods and #indexPage

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M8
    • 4.0M7
    • Plugin : Search
    • 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;
      

            raphael Raphaƫl Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: