Skip to content

Exact match in search should be prioritized. #408

@coke

Description

@coke

This occurs with many items, but the most obvious is searching for Inf

There is a unique match for Inf which should appear at the top of this list:

https://docs-dev.raku.org/type/Num#Inf

However, it's buried under dozens of infix operators.

The simple fix for this: an exact match should be at the top of the results list. The challenge - results are currently categorized.

Two ways to address that:

  1. Have a prelim "category"/section (with or without a header) to show just exact matches if any are present (if shown here, they don't need to be shown again in their category)
  2. Eliminate categories as headings and make them part of each result row.

I'm leaning towards 1.

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