# Remove strict word order requirement in Quick Switcher and Link Suggestions

**URL:** <https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966>\
**Category:** Feature requests\
**Created:** [January 5, 2021, 2:48am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966 "2021-01-05T02:48:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neigh](https://forum.obsidian.md/user_avatar/forum.obsidian.md/neigh/32/5917_2.png) [@Neigh](https://forum.obsidian.md/u/Neigh)\
**Post date:** [January 5, 2021, 2:48am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/1 "2021-01-05T02:48:11Z")

</div>

### Use case or problem

When using the Quick Switcher and Link Suggestion popups, results only show when the word order is correct. For example, If I am searching for the note “Introduction to Blender.md”, typing “Blender intro” will not land a result. Entering “int ble” / “in b” / etc works great (thanks fuzzy search!), but often we don’t remember the particular order of words in the note title.

In the search pane, results are found as expected, regardless of search term order.

### Proposed solution

Allow for non-strict word order in the Quick Switcher / Link Suggestion popups.

### Current workaround (optional)

Move to the search pane to find notes that aren’t showing up in the popup’s search results.

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [January 6, 2021, 3:25pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/2 "2021-01-06T15:25:02Z")

</div>

In addition:

- Items matching the order of search phrase could be ranked higher to show earlier in suggestions list.
- Searching “phrase with strict order” should still be available e.g. by enclosing the phrase in quotation marks.

---

<div class="post-metadata">

**Author:** ![Neigh](https://forum.obsidian.md/user_avatar/forum.obsidian.md/neigh/32/5917_2.png) [@Neigh](https://forum.obsidian.md/u/Neigh)\
**Post date:** [January 7, 2021, 1:15am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/3 "2021-01-07T01:15:17Z")

</div>

Yeah that would work nicely malecjan.

Licat actually replied to this [in Discord](https://ptb.discord.com/channels/686053708261228577/714234422379151400/795853646189428808):

> “For now, it’s designed like that on purpose. Including the reverse order (or any mixed ordering) makes the search results way too noisy (at least with fuzzy search), because now suddenly it’s matching a ton more things.  
> There might be other ways to add the reverse order though, like non-fuzzy  
> could consider that later”

But I wonder how problematic this additional noise would actually be? If results are too noisy, it just requires a bit more specificity, right? Of course I can’t test this, so perhaps it would indeed be unruly… but the problem exists that these searches require _memorising_ the term order – While I think that “Blender Intro” really should find results for “Introduction to Blender”.

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [January 8, 2021, 2:37am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/4 "2021-01-08T02:37:43Z")

</div>

**Current workaround** (but nothing more) is to generate few permutations stored as aliases in YAML header. But that is feasible only for very small number of files or could be done programmatically.

* * *

This feature request would also help to solve [Improvement to link suggestions - allow narrowing to folder while searching](https://forum.obsidian.md/t/improvement-to-link-suggestions-allow-narrowing-to-folder-while-searching/3056) by allowing to filter the folder without need relocate caret to the beginning of the search string.

---

<div class="post-metadata">

**Author:** ![Ghos3t](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/779978/32.png) [@Ghos3t](https://forum.obsidian.md/u/Ghos3t)\
**Post date:** [January 16, 2022, 10:55pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/5 "2022-01-16T22:55:04Z")

</div>

Are there any updates to this idea. I run into this issue on a daily basis where I just remember the important keywords that I expect in the title but not their exact order. I even tried to use the Quick Switcher++ community plugin hoping it might have this feature, but it seems to work the same way as the core switcher, I started a [discussion](https://github.com/darlal/obsidian-switcher-plus/discussions/31) on it’s Github repo, hoping they might implement this. Currently the only workarounds I think work are to add the important keywords from the title as tags inside the note, and then search using tag: search option, or using the file: search option to search by file name only, which seems to not be limited by keyword order.

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [February 21, 2022, 6:23pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/6 "2022-02-21T18:23:41Z")

</div>

### Use-case or problem:

I frequently fail to find the file in quick switcher and then have to copy or retype the search terms into global search pane which is tolerant to word-order but also ignores text-level (filename = alias = chapter heading = … = marginal mention). This double effort is intrusive.

### Proposed solution:

1. Implement [Allow Multiple search panes at the same time](https://forum.obsidian.md/t/allow-multiple-search-panes-at-the-same-time/10800) .
2. Bind hotkey Ctrl+O to “Open new search-pane”.
3. E.g. add new sorting option that prioritizes by text level (filename\>=alias \> chapter heading \>…\> marginal note). I.e. will first list results matching in filenames and aliases like current quick-switcher, then followed by results matching in file contents like current global search. Or e.g. display two columns, one corresponding to quick-switcher and one to ordinary results so I can click left or right to preferred match. Or …

---

<div class="post-metadata">

**Author:** ![hakonhagland](https://forum.obsidian.md/user_avatar/forum.obsidian.md/hakonhagland/32/27902_2.png) [@hakonhagland](https://forum.obsidian.md/u/hakonhagland)\
**Post date:** [March 30, 2022, 6:24pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/7 "2022-03-30T18:24:55Z")

</div>

> [@Neigh](#):
>
> But I wonder how problematic this additional noise would actually be? If results are too noisy, it just requires a bit more specificity, right? Of course I can’t test this, so perhaps it would indeed be unruly… but the problem exists that these searches require _memorising_ the term order – While I think that “Blender Intro” really should find results for “Introduction to Blender”.

This feature is crucial to me. How can we move ahead with this feature? I would like to see for myself if the results “will get too noisy”. An idea would be to implement it as an experimental feature for now, and then let the user have the option to switch it on in the settings menu. Then they can test for themselves. Let me also know if I can help implementing this feature!

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [March 30, 2022, 7:02pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/8 "2022-03-30T19:02:26Z")

</div>

There are a couple of plugin that offer alternative quick switcher. You can create another one or extend one of those.

---

<div class="post-metadata">

**Author:** ![hakonhagland](https://forum.obsidian.md/user_avatar/forum.obsidian.md/hakonhagland/32/27902_2.png) [@hakonhagland](https://forum.obsidian.md/u/hakonhagland)\
**Post date:** [March 31, 2022, 3:09pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/9 "2022-03-31T15:09:46Z")

</div>

> [@WhiteNoise](#):
>
> There are a couple of plugin that offer alternative quick switcher.

Thanks @WhiteNoise! I found a plugin that seems to work perfectly!

> **[GitHub - tadashi-aikawa/obsidian-another-quick-switcher: This is an Obsidian...](https://github.com/tadashi-aikawa/obsidian-another-quick-switcher)**
>
> This is an Obsidian plugin which is another choice of Quick switcher. - tadashi-aikawa/obsidian-another-quick-switcher

I will have to test it more. But so far it seems to be exactly what I was looking for 😁

---

<div class="post-metadata">

**Author:** ![waynesmith](https://forum.obsidian.md/user_avatar/forum.obsidian.md/waynesmith/32/11567_2.png) [@waynesmith](https://forum.obsidian.md/u/waynesmith)\
**Post date:** [April 2, 2022, 3:33pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/10 "2022-04-02T15:33:04Z")

</div>

This plugin is great, as it allows alternative to using `[[` as well, as same problem there! Frequency and recency makes a big difference in constant false positives coming up.

---

<div class="post-metadata">

**Author:** ![dsteinbock](https://forum.obsidian.md/user_avatar/forum.obsidian.md/dsteinbock/32/3996_2.png) [@dsteinbock](https://forum.obsidian.md/u/dsteinbock)\
**Post date:** [January 10, 2021, 11:01pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/11 "2021-01-10T23:01:10Z")

</div>

### Use case or problem

When using the link suggestion popup to create a link to an existing note, the current fuzzy search algorithm is slightly too restrictive. It produces zero results for some very reasonable attempts at a match.

For example:

- `Where's my music collection note about [[The Ramones`  
does not match a note titled `Ramones`. (Did you know that’s the actual band name?)
- `Where's my recipe for [[how to cook spaghetti squash`  
does not match note `how to make spaghetti squash`

Problem: the current fuzzy search algorithm requires a match for all search terms, with no fallback to a less restrictive search.

Drawbacks: If I’m certain that my desired note exists, I have to try to remember what else I may have titled it and try again. If I’m _not_ certain it already exists I may create a redundant note, wasting time and cluttering my note collection.

Requiring a match for all search terms makes sense for Obsidian’s file search engine but not for link suggestion. File search happens in a search box where users are intentionally constructing boolean queries. Link suggestion happens in the context of natural language. It’s a similar but distinct UX case.

### Proposed solution

If there’s no match for all search terms, fall back to a match on fewer search terms. Results with more matching search terms rank higher.

Secondarily, results with _longer_ matching search terms rank higher. (This is an optional but probably useful optimization for ranking ‘substance’ words higher than words like `the and as of` etc..)

### Related feature requests

This pairs very well with @ShaneNZ’s feature request for when you want to link a phrase you’ve already written. The link suggestion UX for that case is currently broken, i.e. there is no link suggestion.

> [@Small but big QoL: When linking a pre-existing word or phrase, display the note suggestion menu](https://forum.obsidian.md/t/small-but-big-qol-when-linking-a-pre-existing-word-or-phrase-display-the-note-suggestion-menu/8811):
>
> Use case or problem When I’m reviewing (or writing) a note and I decide that I want to link a word or phrase that’s already present in the note, I want to select the word (a double-click, drag and select or hold down shift and use arrows) and tap [[ to make it a link. At that point, I also want to see the note suggestion menu, in the same way that I see it if I type the [[ before typing the word. Proposed solution Simply, display the note menu when a user selects a word or phrase and presses …

---

<div class="post-metadata">

**Author:** ![Neigh](https://forum.obsidian.md/user_avatar/forum.obsidian.md/neigh/32/5917_2.png) [@Neigh](https://forum.obsidian.md/u/Neigh)\
**Post date:** [January 11, 2021, 11:37am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/12 "2021-01-11T11:37:08Z")

</div>

Here’s my [similar request](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966) for improvements to fuzzy searching in Quick Switcher and Link Suggestions.

(edit: fixed link)

---

<div class="post-metadata">

**Author:** ![pmackay](https://forum.obsidian.md/user_avatar/forum.obsidian.md/pmackay/32/12630_2.png) [@pmackay](https://forum.obsidian.md/u/pmackay)\
**Post date:** [April 3, 2021, 12:47pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/13 "2021-04-03T12:47:21Z")

</div>

Is there any way to disable case matching when searching? I dont typically want to have to get the uppercase first letters of titles correct to find them, but that seems to be required.

@dsteinbock have you noticed this?

---

<div class="post-metadata">

**Author:** ![dsteinbock](https://forum.obsidian.md/user_avatar/forum.obsidian.md/dsteinbock/32/3996_2.png) [@dsteinbock](https://forum.obsidian.md/u/dsteinbock)\
**Post date:** [April 4, 2021, 4:04am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/14 "2021-04-04T04:04:27Z")

</div>

Hmm, actually I’m _not_ seeing case match being a requirement. Maybe I’m not understanding, or maybe you found a bug or an edge case. Can you give a specific example?

---

<div class="post-metadata">

**Author:** ![wise](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/w/e36b37/32.png) [@wise](https://forum.obsidian.md/u/wise)\
**Post date:** [November 17, 2021, 7:30pm UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/15 "2021-11-17T19:30:19Z")

</div>

I would like to bump this thread. I’m also finding the search matching to be too restrictive.  
I’m a transplant from roam, and the results are more intuitive.

comparison with roam using the same data

 ![image](https://forum.obsidian.md/uploads/default/original/3X/3/e/3e2b5590c35c11be1dd17557f354500f746d33cb.png)

aside:  
Is there a way to default the search results to condenced mode?  
From this:

 ![image](https://forum.obsidian.md/uploads/default/original/3X/2/5/25d9d40469bc1decf7762adc6390fb52c84caf48.png)  
to this:  
 ![image](https://forum.obsidian.md/uploads/default/original/3X/1/6/16c7f943c4b9efac8f038042a9224601cf84cd8b.png)

---

<div class="post-metadata">

**Author:** ![redhorse](https://forum.obsidian.md/user_avatar/forum.obsidian.md/redhorse/32/35484_2.png) [@redhorse](https://forum.obsidian.md/u/redhorse)\
**Post date:** [September 16, 2023, 10:16am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/16 "2023-09-16T10:16:21Z")

</div>

Thanks for mentioning obsidian://show-plugin?id=obsidian-another-quick-switcher . Seems like a perfect solution on first look. It is also actively developed, last change 4 days ago.

---

<div class="post-metadata">

**Author:** ![Peanut](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/p/b5e925/32.png) [@Peanut](https://forum.obsidian.md/u/Peanut)\
**Post date:** [September 24, 2023, 8:02am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/17 "2023-09-24T08:02:27Z")

</div>

is that plugin able to replace the default [[ dialogue to enable results for reverse ordered search terms? If so, can you tell me how to enable it… i can’t seem to find a setting to make it do so.

---

<div class="post-metadata">

**Author:** ![redhorse](https://forum.obsidian.md/user_avatar/forum.obsidian.md/redhorse/32/35484_2.png) [@redhorse](https://forum.obsidian.md/u/redhorse)\
**Post date:** [September 24, 2023, 8:26am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/18 "2023-09-24T08:26:31Z")

</div>

Sorry, no idea. I suggest you look if the plugin has some kind of support resources.

---

<div class="post-metadata">

**Author:** ![klaudyu](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@klaudyu](https://forum.obsidian.md/u/klaudyu)\
**Post date:** [October 27, 2023, 10:23am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/19 "2023-10-27T10:23:11Z")

</div>

this is a game changer. Thank you.

---

<div class="post-metadata">

**Author:** ![klaudyu](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@klaudyu](https://forum.obsidian.md/u/klaudyu)\
**Post date:** [October 27, 2023, 10:24am UTC](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966/20 "2023-10-27T10:24:34Z")

</div>

I support this. Because of this lacking feature I created several notes twice.

[Next page](https://forum.obsidian.md/t/remove-strict-word-order-requirement-in-quick-switcher-and-link-suggestions/10966.md?page=2)
