How can I search for a note without a tag or that is not in any notebook

For me, notebooks and tags are a good way to organize, find and work with my notes. Sometimes I just create a note and after a while I associate it with a specific notebook or tag. Is it possible to find notes that has no tag or that is not associate do any notebook?

I am using v1.2.6 on Ubuntu 20.04 and installed Joplin from Snaps.

1 Like

-tag:* returns all notes without tags.

https://github.com/laurent22/joplin#search-filters

6 Likes

You can find notes without tags.
But is it possible to have a note not associated with a notebook?

1 Like

Nope. A note is always in a notebook.

2 Likes

It is worthwhile to spend some time (perhaps two or three times), on the home page manual with the section on search. I actually copied that section and made a note (tag: Joplin). The search is really quite flexible.
https://joplinapp.org

2 Likes

@btovar I'm one day old today, so none of my junk test notes have tags yet.

But I found untagged notes by Gtrl-G

(The mnemonic for the "G" is "Goto")

Of course, I might have misunderstood your query :frowning:

Thanks.

You can enter the mentioned searches from simply in the search field.
grafik

For those who found this page via google, yes notes can be without a notebook (unintentionally but possible)

You can find them and get them back to a notebook by using this search query: -notebook:*

3 Likes

Thanks. I found notes created on my iPhone always fall into outside of existing notebooks, making it really hard to find those notes later on other device. Your search string works.

Hi

-notebook:*

returns notes and todos that are not in a notebook (usually created due to a sync error).

I have notes without notebooks, by certain issue in synchronization (perhaps my faut!), and not just few, a lot!

Hmm, this seems strange, unless anything in Joplin has changed so that this is possible now.

@laurent @personalizedrefriger is it possible in Joplin to have notes without a notebook?

The behavior is that, when you select all notes (in desktop app, macos) and click in a note and it belongs to a notebook, the notebook is shown in the top of the note viewer. If you do the same with a note that is not linked to any notebook (it's shown because you have already selected "all notes"), it does not show anything in the top of the note viewer.

Perhaps the issue came because I was importing a backup in an already loaded Joplin and it started duplicated everything (i.e. "notebook-a" and created a new "notebook-a (1)" with duplicates) until there was an issue in hard disk space (it was full) so the importing failed. Then I deleted all notebooks, free space in disk and started importing again, this time it finished completely. But i'm not fully sure about this procedure to replicate the issue.

Sounds like a bug to me.

After couple of days trying to synch everything (no way to finishing decrypting in my iphone app) I decided to go back and restart from scratch and I did a full cleanup and reset, by the hard way:

1.- backup of each notebook via jex files (the big one has 2618 notes)
2.- delete each notebook, so I only left the notes without notebook
3.- selecting and exporting such notes fails (it says there are no notes)
4.- I created a new notebook (Duplicates) and added all notes to it, now the export works.
5.- Reset joplin app in macos desktop by deleting the config folder, delete the app in my iphone too, delete the joplin's dropbox folder completely.
6.- Import the small notebooks one by one in joplin desktop but not the big one.
7.- Configure encryption and synch with dropbox and wait until everything got in synch. It was fast let me say! (just few minutes) (less than 30 notes in total)
8.- Installed the joplin app in iphone, configure encryption and synch, the welcome notebook got duplicated everywhere after synch finished (few minutes!), deleted it and synch, and everything looks fine now.
9.- Disabled the synch in iphone app.
10.- Started importing the big notebook in desktop app. Currently i'm waiting for the synch with dropbox to complete. This is slow (i has taken about 10 min now), let's see how much time it takes to finish this time.
11.- After synch done (Update: took about 1h or so), I'll wait for some more synch tries where it says nothing to synch.
12.- Then I'l renenable synch in iphone app and wait again, hopefully less than before!!! (Update: it looks like synch done, then It took a lot fetching resources, about 1h or more. now it's fetching and decrypting in parallel, slowly)(Update: fetching done, still decrypting, I hope this finishes by today)
13.- Then will wait after several synch tries in iphone app (so nothing to synch) before getting done with the results. (Update: after 1 day, iphone app is still decrypting, in chunks of 100 items. It takes about 2 hours to do a chunk so I estimate 5 days to complete. Let's be positive!)

Update: still decrypting things in iphone app. Apparently the newest things get on top of pending items to decrypt, that is very nice because old content used to be less needed than new created or recently updated, so the new notes get alive faster plus the newest content decrypted.

I'll keep an eye on this. Perhaps one more week will be enough, but it's a consolation that I won't miss nothing recent.

I think the main reason of the delay is because iphone app doesn't get much CPU when it's not in front. I think that when became secondary app or so in the phone apps stack, the CPU gets dedicated to something else, that is natural from my point of view. Perhaps implementing some background task (it doesn't seem to have one) this could be improved at least a little.

Another idea is to specifically switch the whole app to decrypting, instead of getting new notes or updating the frontend, little bit like a temporary turbo switch in the configuration, but I don't know if this is possible, or even a good idea.

By the way, I have not seen any more duplicates, that was the way all this stuff started.

Update: iphone app finished decrypting things last night. It took a complete week to process everything. Even the oldest items and resources are accessible. Quite nice!