# Search bar could also search tags

**URL:** <https://discourse.joplinapp.org/t/search-bar-could-also-search-tags/8973>\
**Category:** Features\
**Created:** [27 May 2020 19:21 UTC](https://discourse.joplinapp.org/t/search-bar-could-also-search-tags/8973 "2020-05-27T19:21:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlesdaniels](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/charlesdaniels/32/1190_2.png) [@charlesdaniels](https://discourse.joplinapp.org/u/charlesdaniels)\
**Post date:** [27 May 2020 19:21 UTC](https://discourse.joplinapp.org/t/search-bar-could-also-search-tags/8973/1 "2020-05-27T19:21:45Z")

</div>

Just a thought… I am lazy and usually don’t tag my notes, relying on full-text search. Sometimes if a node is about a topic, but doesn’t contain a related keyword, I will create a tag with that keyword.

If I want to find all notes relating to this topic, I now have to both search for the keyword, and also check the relevant tag also.

It would be neat if searching for a keyword would also match notes tagged with that keyword. For example, if I search for `foobar`, it would be nice for notes containing `foobar` in the title / body to show up in addition to notes that have a tag called `foobar`.

To be clear, this is in Joplin Desktop, and I’m referring to the search bar in the taskbar next to “layout”, not “go to anything” (though it also seems not to match tags).

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [27 May 2020 23:55 UTC](https://discourse.joplinapp.org/t/search-bar-could-also-search-tags/8973/2 "2020-05-27T23:55:23Z")

</div>

[https://discourse.joplinapp.org/c/gsoc-projects/gsoc-projects-search/16](https://discourse.joplinapp.org/c/gsoc-projects/gsoc-projects-search/16)

---

<div class="post-metadata">

**Author:** ![charlesdaniels](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/charlesdaniels/32/1190_2.png) [@charlesdaniels](https://discourse.joplinapp.org/u/charlesdaniels)\
**Post date:** [28 May 2020 15:36 UTC](https://discourse.joplinapp.org/t/search-bar-could-also-search-tags/8973/3 "2020-05-28T15:36:25Z")

</div>

I agree that is closely related, but as I understand that thread, it’s for allowing `tag:foo` type queries in searches.

I was proposing that searching for `foo bar baz` would imply the search `foo bar baz or tag:foo or tag:bar or tag:baz` under the hood.

---

<div class="post-metadata">

**Author:** ![Opayq](https://avatars.discourse-cdn.com/v4/letter/o/87869e/32.png) [@Opayq](https://discourse.joplinapp.org/u/Opayq)\
**Post date:** [10 April 2021 16:36 UTC](https://discourse.joplinapp.org/t/search-bar-could-also-search-tags/8973/4 "2021-04-10T16:36:56Z")

</div>

I just noticed this as well. Tried to search for all my "recipe" notes but it didn't return all of them. Some contain the word "recipe" in the title/body but some don't and are tagged "recipe". Would be great if the search would also consider the tags by default.

Would it be possible to make a feature request for this?

---

<div class="post-metadata">

**Author:** ![ajay](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ajay/32/6551_2.png) [@ajay](https://discourse.joplinapp.org/u/ajay)\
**Post date:** [11 April 2021 10:13 UTC](https://discourse.joplinapp.org/t/search-bar-could-also-search-tags/8973/5 "2021-04-11T10:13:29Z")

</div>

Not sure what I am missing. When I test this with 2 notes, one has "xx" in the title, and the other is tagged as "xx", the command "search in all notes" (cmd-F in my setup), finds both notes. So, what else would you like to see happening ?
