Skip to content

Search algorithm should favor adjacent characters #109

Open

Description

@eater

When I type opera into a freshly installed copy of FAST, it returns two app results: OPEn cameRA and OPERA -- In that order.

That's a somewhat unexpected behavior. It'd be much better if FAST gave favorable weighting to results in which more of the typed characters are adjacent. If they're adjacent to the word beginning, that should be weighted too.

Activity

  1. ligi commented on Aug 3, 2018

    @ligi
    Owner

    Thanks for the feedback. Sounds reasonable - but not sure when/if I find time to do this. PRs welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions