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

Avoid expensive sorting sql when not needed in Search

    Details

      Description

      Avoid sorting on:

      • findSingle
      • Result counts internally in Legacy Search engine

      Both for content and location.

      Note: this will not have any impact if you are using $query->performCount = false as introduced in 5.3.4 and 5.4.1, but this will help for the case where this can not be used (count needed) or for cases where this setting is not specified (default).

        Issue Links

          Activity

          Show
          André Rømcke added a comment - Merged: https://github.com/ezsystems/ezpublish-kernel/commit/ff16bcf3c867c0a692fe336155555aba3ed6d5ed
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for 5.3, 5.4 and master.
          Sanity tests were executed on the Public API's Search Service.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for 5.3, 5.4 and master. Sanity tests were executed on the Public API's Search Service.

            People

            • Assignee:
              Unassigned
              Reporter:
              André Rømcke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: