Skip to content

Feature request: sort posts search by score (single-subreddit/author scope) #56

Description

@kanihal

Would it be possible to add sort_type=score to /api/posts/search.
This can be supported only when a subreddit or author filter
is present
, and NOT supported for global/unfiltered queries.

pullpush search already does this - https://search.pullpush.io/ (although it has data only till May, 2025)

Image

I assume it would need (subreddit, score) / (author, score) indexes
to avoid the full-sort timeout case, so scoping it should keep the cost down.

Workaround I'm using currently: I fetch with a filter + fields=...,score and sort client-side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions