better treecap-style search