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.

        Issue Links

          Activity

          Petar Spanja (Inactive) created issue -
          André Rømcke made changes -
          Field Original Value New Value
          Rank Ranked higher
          Petar Spanja (Inactive) made changes -
          Summary Fix size (limit) parameter for unlimited Elasticsearch: Fix size (limit) parameter for unlimited
          Petar Spanja (Inactive) made changes -
          Workflow eZ Engineering Kanban SubTasks Workflow [ 64670 ] eZ Engineering Scrumban Workflow [ 64830 ]
          Parent EZP-23329 [ 42305 ]
          Issue Type Sub-task [ 5 ] Bug [ 1 ]
          Petar Spanja (Inactive) made changes -
          Link This issue relates to EZP-23329 [ EZP-23329 ]
          André Rømcke made changes -
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          André Rømcke made changes -
          Assignee Petar Spanja [ petar.spanja@ez.no ]
          André Rømcke made changes -
          Status InputQ [ 10001 ] Backlog [ 10000 ]
          André Rømcke made changes -
          Epic Link EZP-22944 [ 32101 ]
          Petar Spanja (Inactive) made changes -
          Summary Elasticsearch: Fix size (limit) parameter for unlimited Search: Fix size (limit) parameter for unlimited
          Petar Spanja (Inactive) made changes -
          Status Backlog [ 10000 ] InputQ [ 10001 ]
          Petar Spanja (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Petar Spanja (Inactive) made changes -
          Summary Search: Fix size (limit) parameter for unlimited Remove unlimited search hits option
          Petar Spanja (Inactive) made changes -
          Description ATM {{size}} for unspecified limit is hardcoded to {{1000}}, as high number seem to cause memory problems.

          It needs to be investigated if unlimited value can be set, or we can set the default limit on the {{Query}} value object.
          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.
          Petar Spanja (Inactive) made changes -
          Status Development [ 3 ] Documentation Review done [ 10011 ]
          Affects Version/s 5.4.2 [ 13979 ]
          Fix Version/s Pollux [ 13981 ]
          Rui Silva (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Assignee Petar Spanja [ petar.spanja@ez.no ] Rui Silva [ rui.silva@ez.no ]
          Rui Silva (Inactive) made changes -
          Assignee Rui Silva [ rui.silva@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 64830 ] EZ* Development Workflow [ 85385 ]
          Petar Spanja (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Petar Spanja (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 1 hour, 45 minutes [ 6300 ]
          Worklog Id 55248 [ 55248 ]
          Petar Spanja (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Petar Spanja (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 1 hour, 45 minutes [ 6300 ] 3 hours, 15 minutes [ 11700 ]
          Worklog Id 55257 [ 55257 ]
          Petar Spanja (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Petar Spanja (Inactive) made changes -
          Link This issue relates to EZP-24720 [ EZP-24720 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 85385 ] EZEE Development Workflow [ 124207 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              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