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

[Global indexation] Schema is sent once per workspace

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • 4.1.0
    • Plugin : Search
    • None

      Whereas we need to send it only once beofre iterating over workspaces I think.

      in org.ametys.cms.indexing.solr.SolrWorkspaceIndexer.indexAllWorkspaces() we do

      _index(workspaceName, false, true);

      I think we can pass false to the third argument and just send the schema once for all before iterating over workspaces. (to be tested because org.ametys.cms.content.indexing.solr.SolrIndexer.sendSchema() seems to care about the current workspace)

      Some time will be saved

            sprieul Simon Prieul (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: