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

Remove unlimited search hits option

    XMLWordPrintable

    Details

      Description

      Option for returning unlimited number of search hits needs to be removed.

      While this worked with relational database (Legacy Search Engine), Solr and Elasticsearch were never made to provide for this. Using big number to fake unlimited (1073741824 for Legacy Search Engine) routinely causes OOM exceptions with Solr and Elasticsearch.

      Solr and Elasticsearch were made to work with returning relatively small number of hits, providing paging/scrolling for the case when full set is required.

      Null as an alias for unlimited in Query objects should be removed, but also other service methods that rely on search should be updated.
      Limit should always be expected to be set to a definite number.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                petar.spanja@ez.no Petar Spanja (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 3 hours, 15 minutes
                  3h 15m