search: remove dead query methods and values
Created by: rvantonder
Stacked on https://github.com/sourcegraph/sourcegraph/pull/34152. apparently this is dead code now, which is what I was going after. I somehow though there were more hidden things depending on it...
Test plan
Semantics-preserving