Better is to use the search documentation, not a post (this is partly no longer correct)!
https://joplinapp.org/help/#searching