Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nomad-FAIR nomad-FAIR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 142
    • Issues 142
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-lab
  • nomad-FAIRnomad-FAIR
  • Merge requests
  • !183

Refactored the Encyclopedia API. The complex aggregations are now prefiltered correctly according to the user query and the maximum result set size has been lowered.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Lauri Himanen requested to merge aggregation-improvement into v0.9.0 Sep 24, 2020
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

I reordered the search logic a bit and included a bit better filtering before the costly aggregations are run. Also lowered the maximum result size from 5M to 500k. If this does not improve the situation, we can still lower the query size. But I would not spend much more time optimizing these queries as they will anyways go away once we get the materials index up.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: aggregation-improvement