A minor point of clarification. In the excellent description of Find in aTBRef there is a reference to the context of the find query, to whit
Found items are grouped to show items in current context
What was not clear to me for some time was what the current context is. My interpretation - for checking - is that it is based on the current view container and includes all subcontainers irrespective of whether they are visible or not. For example to find the note with name “N8” in the following case:
I get
because there is a note with the name N8 in the container N7. There also happens to be a second note with the name N8 somewhere else in the hierarchy as seen in other results.