Searching with text and tags
Posted: Mon Jun 12, 2017 9:47 pm
Hi Alex
Can you please describe how the search box works when using both regular search words and tags? Also, what exactly does Enter do at that point.
Here is a test example: I created 5 test notes with the tag 'horse'. Of those 5 notes, three of them also contained a phrase "Here is a horse" in the body of the note. If it makes a difference, I have tagsedit.autocomplete.searchbox.acceptonspace = 0. SIW and across fields is also off.
1) If I search 'Anywhere', and type 'horse' or pick the suggested horse tag, I get 5 notes. OK
2) However, if I search "Any Text Field' and type 'horse' or select the suggested horse tag, I only get the 3 notes that actually have a horse in the body of the note. I expected all 5 since it should have hit the tags also. But if I hit Enter after that, I get all 5 notes.
3) If I search "Text and Title" and type "horse", I get the 3 notes that have 'horse' in the body. That's what I expect since I'm not searching the Tags field. But if I then hit Enter, I get all 5 notes, including the ones that have a horse tag even though they don't have a horse in the body. Hitting Enter appears to select the 'horse' tag and then display all messages with this tag. That seems to be what's happening in example 2 also. Is that the way it's intended? I'm not complaining or suggesting it should do something different (yet ). I'm just trying to form a mental model of how it works.
Maybe this was described in earlier conversations on this board, but there are 11k+ messages here now (that's a good thing ) and I couldn't find it. It would be good to add info like this to the Help, maybe as an appendix of technical topics to not complicate the more general descriptions. At the least, the help should mention that you can select a set of notes with tags and then do a search that will narrow down from the selected set.
btw, Print is not mentioned at all in the help. I went looking for it when I tried to Print and nothing happened (because I had deleted a printer and didn't have any default printer set).
Gunars
Can you please describe how the search box works when using both regular search words and tags? Also, what exactly does Enter do at that point.
Here is a test example: I created 5 test notes with the tag 'horse'. Of those 5 notes, three of them also contained a phrase "Here is a horse" in the body of the note. If it makes a difference, I have tagsedit.autocomplete.searchbox.acceptonspace = 0. SIW and across fields is also off.
1) If I search 'Anywhere', and type 'horse' or pick the suggested horse tag, I get 5 notes. OK
2) However, if I search "Any Text Field' and type 'horse' or select the suggested horse tag, I only get the 3 notes that actually have a horse in the body of the note. I expected all 5 since it should have hit the tags also. But if I hit Enter after that, I get all 5 notes.
3) If I search "Text and Title" and type "horse", I get the 3 notes that have 'horse' in the body. That's what I expect since I'm not searching the Tags field. But if I then hit Enter, I get all 5 notes, including the ones that have a horse tag even though they don't have a horse in the body. Hitting Enter appears to select the 'horse' tag and then display all messages with this tag. That seems to be what's happening in example 2 also. Is that the way it's intended? I'm not complaining or suggesting it should do something different (yet ). I'm just trying to form a mental model of how it works.
Maybe this was described in earlier conversations on this board, but there are 11k+ messages here now (that's a good thing ) and I couldn't find it. It would be good to add info like this to the Help, maybe as an appendix of technical topics to not complicate the more general descriptions. At the least, the help should mention that you can select a set of notes with tags and then do a search that will narrow down from the selected set.
btw, Print is not mentioned at all in the help. I went looking for it when I tried to Print and nothing happened (because I had deleted a printer and didn't have any default printer set).
Gunars