Skip to content

Code search sort order should be stableΒ #24170

Open
@silverwind

Description

@silverwind

Feature Description

When searching code via /explore/code with REPO_INDEXER_TYPE=bleve, the sort order of results is not stable and seems to shuffle randomly when code is pushed to the instance.

I'd suggest always sort these code search results by file path, in ascending alphabetical order. More sort order options could be added later via a dropdown menu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions