• Yorick Peterse's avatar
    Refactor Gitlab::SearchResults · 01354296
    Yorick Peterse authored
    Instead of plucking IDs this class now uses ActiveRecord::Relation
    objects. Plucking IDs is problematic as searching for projects can lead
    to a huge amount of IDs being loaded into memory only to be used as an
    argument for another query (instead of just using a sub-query).
    01354296
search_results.rb 2.21 KB