Skip to content

Automatically disable sorting on un-indexed fields #2258

@ml-evs

Description

@ml-evs

It can be quite easy to waste a lot of cycles by sorting on unindexed fields in the default MongoDB implementation. There should be a config option to prevent such sorts at the API level, or to explicitly list fields that are available for sorting.

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