Skip to content

feat: move space ranking to a table #855

@wa0x6e

Description

@wa0x6e

Current ranking is currently in-memory, and can not be used together with Space to sort naturally sort all spaces by ranking, by default.

By moving this ranking to a table, we could use JOIN when fetching spaces, and always sort spaces by popularity DESC if not sort filter is specified.

This will also avoid the use of 2 queries when showing spaces on the v1 homepage, and v2 explore page

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions