BigW Consortium Gitlab

  1. 23 Jan, 2018 1 commit
    • Use limit for search count queries · 090ca9c3
      Jan Provaznik authored
      Search query is especially slow if a user searches a generic string
      which matches many records, in such case search can take tens of
      seconds or time out. To speed up the search query, we search only for
      first 1000 records, if there is >1000 matching records we just display
      "1000+" instead of precise total count supposing that with such amount
      the exact count is not so important for the user.
      
      Because for issues even limited search was not fast enough, 2-phase
      approach is used for issues: first we use simpler/faster query to get
      all public issues, if this exceeds the limit, we just return the limit.
      If the amount of matching results is lower than limit, we re-run more
      complex search query (which includes also confidential issues).
      Re-running the complex query should be fast enough in such case because the
      amount of matching issues is lower than limit.
      
      Because exact total_count is now limited, this patch also switches to
      to "prev/next" pagination.
      
      Related #40540
  2. 22 Jan, 2018 2 commits
  3. 18 Jan, 2018 1 commit
  4. 17 Jan, 2018 1 commit
  5. 11 Jan, 2018 1 commit
  6. 05 Jan, 2018 1 commit
  7. 04 Jan, 2018 1 commit
  8. 04 Dec, 2017 1 commit
  9. 28 Nov, 2017 2 commits
  10. 27 Nov, 2017 4 commits
  11. 24 Nov, 2017 1 commit
  12. 16 Nov, 2017 1 commit
  13. 13 Nov, 2017 2 commits
  14. 06 Nov, 2017 2 commits
  15. 23 Oct, 2017 1 commit
  16. 12 Oct, 2017 1 commit
  17. 11 Oct, 2017 1 commit
  18. 10 Oct, 2017 4 commits
  19. 07 Oct, 2017 2 commits
  20. 05 Oct, 2017 2 commits
  21. 04 Oct, 2017 8 commits