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

ezplatform:solr_create_index loop caused by the bulk_count

    Details

      Description

      If you run solr_create_index and specify a bulk_count of 0

      php -d memory_limit=-1 app/console ezplatform:solr_create_index --env prod 0
      

      or if you specify a string

      php -d memory_limit=-1 app/console ezplatform:solr_create_index --env prod demo
      

      If still creates the search index, but the command will not exit, it will be stuck in a loop.
      The cause is that bulk_count accepts a value <= 0. It should only consider integer values higher than zero.

        Activity

        Show
        Joao Inacio (Inactive) added a comment - PR: https://github.com/ezsystems/ezplatform-solr-search-engine/pull/66
        Show
        André Rømcke added a comment - Merged (1.0 and master): https://github.com/ezsystems/ezplatform-solr-search-engine/commit/103359e8b638920d5c3a17b562f840b63415b769
        Hide
        Rui Silva (Inactive) added a comment -

        Tested and approved by QA for 1.0 and master.

        Show
        Rui Silva (Inactive) added a comment - Tested and approved by QA for 1.0 and master.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ricardo Correia (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: