Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21280

Do not calculate aggregates on search UI when no criteria are entered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: WEBUI-0.8.0
    • Fix Version/s: WEBUI-0.9.0
    • Component/s: Web UI

      Description

      Doing load testing. In a repository with 100 million documents, displaying the initial search page tajes (with this specific context: high performance Nuxeo/es/mon,go Vas) take ~15s. This is because the 100M docs are returned and aggregates are calculated.
      As soon as you filter the search and have less documents, everything is fine (for example, do a fulltext search).

      This problem occurs in both JSF and WebUI. Tested on 9.10 SNAPSHOT but it is likely to also occur on 8.10

      For content-views (and the corresponding queue in WebUI), a pre-filter may have been defined, so maybe it's only when we know the query will return everything that this "don't calculate aggregates" should apply?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: