# settings_ui: Fix settings search missing results when BM25 finds partial matches \(\#46349\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/5ae3cf0d471924c43f7194f71dedcef6c9b797e4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 5ae3cf0d471924c43f7194f71dedcef6c9b797e4

Requested commit: 5ae3cf0d471924c43f7194f71dedcef6c9b797e4

Commit: 5ae3cf0d471924c43f7194f71dedcef6c9b797e4

Tree: 072e2471150c029766c125d2e16e941b8e0d9591

Author: Smit Barmase

Committer: GitHub

## Message

```
settings_ui: Fix settings search missing results when BM25 finds partial matches (#46349)

Closes #44038

BM25 results were fully replacing fuzzy results, which caused some items
to disappear from search. For example, "Show Menus" wouldn’t show up
when searching for "menu". This happened due to limitations in the
Porter stemmer used by the library. Fuzzy search matched correctly, but
its results were getting overwritten. We now merge both result sets
instead.

Release Notes:

- Fixed an issue where settings search missed some results, like "Show
Menus" when searching for "menu".
```

## Parents

- [28e7ee4437728555d288cb8c3955004987d41aac](https://git.cafe/gitcafe/zed/commit/28e7ee4437728555d288cb8c3955004987d41aac?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/5ae3cf0d471924c43f7194f71dedcef6c9b797e4?format=markdown)
