search: rename query to patternInfo
Created by: rvantonder
This is stacked on top of #7182.
The Zoekt code names the PatternInfo
type query
everywhere. Let's name it patternInfo
for now--it doesn't have to stay this way, but it will make refactoring things easier later. The aim later is to refactor the PatternInfo
type to separate things instead of bundling all of the Zoekt/Searcher/Regex/Structural/Commit/Diff/Repo parameters all in a mostly flat struct.
Semantics preserving, tests pass.