Skip to content

[Feature request] prioritize hyphen-connected matches above separated matches #265

Open
@Finni123

Description

Is your feature request related to a problem? Please describe.
It is not really related to a problem, but more to intuitivity/quality of life.
Example: If I have the phrase "hyphen-connected" in my document and I search for "hyphen connected", Omnisearch will show me all occurences of "hyphen" and "connected" and "hyphen-connected" in order of appearance.
I think it would be more useful if matches that are connected with hyphens are prioritized and are shown above the individual matches.

Describe the solution you'd like
show matches that contain all words of the search connected by hyphens above matches that only contain one of the words individually.

Describe alternatives you've considered
Searching for the hyphenated words directly kinda does what I want, but most of the time, I don't know whether I hyphenated some combination words or not, so it doesn't work intuitively.

Additional context
-

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions