Implement and/or-expressions for file and repo search (AKA hierarchical search)
Created by: rvantonder
This task tracks initial exploration for expanding and/or queries to fully nested search. Wanted to start with this in 3.16, but don't think I'll have time.
Relates to #9712 (closed) and issues in #7823 (closed)