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

As a Maintainer I want generic command to recreate search engine index, so that this operation is simpler

    Details

      Description

      To simplify recreating search engine index, a generic command ezplatform:reindex is needed.

      It (re)creates search engine index for configured search engines (per siteaccess repository).

        Issue Links

          Activity

          Hide
          Andrzej Longosz added a comment - - edited

          Another take on generic indexing command is presented in rebased Kernel PR #1738 (work in progress).

          We decided to create Search Engine Indexer Service for each Search Engine. This new service depends on Console components and provides custom (meaning: Search Engine-specific) way to recreate Search Engine Index. It is used by the new version of ezplatform:reindex command.

          In Solr PR #68, there's an implementation of Indexer Service for Solr Search Engine.

          Show
          Andrzej Longosz added a comment - - edited Another take on generic indexing command is presented in rebased Kernel PR #1738 (work in progress). We decided to create Search Engine Indexer Service for each Search Engine. This new service depends on Console components and provides custom (meaning: Search Engine-specific) way to recreate Search Engine Index. It is used by the new version of ezplatform:reindex command. In Solr PR #68 , there's an implementation of Indexer Service for Solr Search Engine.
          Hide
          André Rømcke added a comment -

          Merged:
          https://github.com/ezsystems/ezpublish-kernel/commit/955fe9f4850663008dac566d71c56c60bbddd465
          https://github.com/ezsystems/ezplatform-solr-search-engine/commit/47be025a2c2b83a1b8c9b3879654368754bb6929

          DOC: New Generic indexing command os we don't have to have one for solr, and slq engine in the future, for now the old once are still in there so doc is not invalidated. However we should maybe create a task to update this and pass this to QA for now.

          For use see:
          php app/console ezplatform:reindex --help

          ref: https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php

          Show
          André Rømcke added a comment - Merged: https://github.com/ezsystems/ezpublish-kernel/commit/955fe9f4850663008dac566d71c56c60bbddd465 https://github.com/ezsystems/ezplatform-solr-search-engine/commit/47be025a2c2b83a1b8c9b3879654368754bb6929 DOC: New Generic indexing command os we don't have to have one for solr, and slq engine in the future, for now the old once are still in there so doc is not invalidated. However we should maybe create a task to update this and pass this to QA for now. For use see: php app/console ezplatform:reindex --help ref: https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php
          Hide
          Dominika Kurek added a comment -

          Separate doc task created: https://jira.ez.no/browse/EZP-26732

          Show
          Dominika Kurek added a comment - Separate doc task created: https://jira.ez.no/browse/EZP-26732
          Show
          André Rømcke added a comment - Deprecations of older commands have been merged also: https://github.com/ezsystems/ezpublish-kernel/commit/752eac8aa56dd36f0a9157cbc713a41d7836af5b https://github.com/ezsystems/ezplatform-solr-search-engine/commit/43a6925832e82cdc509155faca2f8994b1772e45
          Hide
          Miguel das Neves Jacinto added a comment -

          Approved by QA

          Show
          Miguel das Neves Jacinto added a comment - Approved by QA

            People

            • Assignee:
              Unassigned
              Reporter:
              Andrzej Longosz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 weeks, 7 hours, 30 minutes
                2w 7h 30m