Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29504

ezplatform:reindex can't index a specific siteaccess

    Details

      Description

      The use of ezplaftorm:reindex is a better way to index content as it is multi-threaded. In a multi siteaccess environment if you want to index a specific siteaccess the only way to do that is to use ezplatform:solr_create_index but this command is not multi-threaded.

      If you add the --siteaccess parameter to the ezplatform:reindex command it will not use it because when the multithread commands are built the siteaccess parameter is not used.

      the siteaccess parameter should be added to help index a specific siteaccess in multi-siteaccess env.

        Activity

        Hide
        Jean-Luc Chassaing added a comment -

        Made a pull request to fix this issue : https://github.com/ezsystems/ezpublish-kernel/pull/2412

        Show
        Jean-Luc Chassaing added a comment - Made a pull request to fix this issue : https://github.com/ezsystems/ezpublish-kernel/pull/2412
        Hide
        André Rømcke added a comment -

        Ready for Testing:
        https://github.com/ezsystems/ezpublish-kernel/pull/2418

        QA:
        Setup for instance a siteaccess with different database configured, and use features for parallel indexing so this is done in processes to be able to verify if right siteaccess is passed to each sub process.

        Show
        André Rømcke added a comment - Ready for Testing: https://github.com/ezsystems/ezpublish-kernel/pull/2418 QA: Setup for instance a siteaccess with different database configured, and use features for parallel indexing so this is done in processes to be able to verify if right siteaccess is passed to each sub process.
        Show
        André Rømcke added a comment - Merged: https://github.com/ezsystems/ezpublish-kernel/commit/ec4621e96cd841cf68406dfadc8673054da01101

          People

          • Assignee:
            Unassigned
            Reporter:
            Jean-Luc Chassaing
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: