A search by key word finds 2 more notes than a search by tag. Why?

OldGrantonian
Posts: 49
Joined: Wed May 16, 2018 10:12 am
Contact:

A search by key word finds 2 more notes than a search by tag. Why?

Postby OldGrantonian » Thu May 06, 2021 9:41 am

.
Here are my steps:

With text box empty, press "All". "3447 notes" is displayed at top right.

In the list of tags, the "Anki" tag is marked "308"

Press the "Anki" tag. "308 notes" is displayed at top right.

Press All.

In text box, select "Anywhere"

In text box, type "Anki"

"310 found" is displayed at top right.

Question: How can I identify the two extra notes found by using the text box?

Reason: Obviously I would like to add the "Anki" tag to the two untagged notes. But, in general it would be nice to know why I seem to be getting inconsistent results.

Thanks.
gunars
Posts: 234
Joined: Fri Nov 08, 2013 5:35 am
Contact:

Re: A search by key word finds 2 more notes than a search by tag. Why?

Postby gunars » Fri May 07, 2021 3:51 pm

Hi OG

See if the following helps:

1) Click on All to select all notes.
2) Alt-click on the Anki tag. This should give you all notes that do NOT have the Anki tag.
3) Search for Anki. This should give you all notes containing Anki in the subset that does not have the Anki tag.
4) You can then tag those notes with Anki also.

This appears to work the other way around also:
1) Click on All to select all notes.
2) Search for Anki to get all notes with this word.
3) Alt-click on the Anki tag to remove the ones that have this tag.
4) That should leave you with the two.

Gunars
gunars
Posts: 234
Joined: Fri Nov 08, 2013 5:35 am
Contact:

Re: A search by key word finds 2 more notes than a search by tag. Why?

Postby gunars » Fri May 07, 2021 4:30 pm

BTW, why do you think you're getting inconsistent results? It sounds like you have 310 notes with the word Anki in them, but only 308 of those have the Anki tag. If you search the contents, you get 310; if you select by tag, you get 308.
OldGrantonian
Posts: 49
Joined: Wed May 16, 2018 10:12 am
Contact:

Re: A search by key word finds 2 more notes than a search by tag. Why?

Postby OldGrantonian » Fri May 07, 2021 5:11 pm

.
That worked fine, thanks.

Your first set of instructions found 2 notes that did not have the Anki tag.

I tagged these 2 notes.

Second set of instructions found no notes to be tagged.
.
gunars
Posts: 234
Joined: Fri Nov 08, 2013 5:35 am
Contact:

Re: A search by key word finds 2 more notes than a search by tag. Why?

Postby gunars » Fri May 07, 2021 5:39 pm

If you ran the first set of instructions and then tagged the two notes, the second set of instructions would have nothing left to find (nor would the first). :)
User avatar
CintaNotes Developer
Site Admin
Posts: 5003
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: A search by key word finds 2 more notes than a search by tag. Why?

Postby CintaNotes Developer » Fri May 14, 2021 11:59 am

Gunars, huge thanks for helping out here! ;)
Alex

Return to “CintaNotes Personal Notes Manager”