search: access pattern string via query in job creation
Created by: rvantonder
Removes dependence on patternInfo
for these values. Goal is to remove all dependence on patternInfo
where possible. Repo search and searcher will likely be the only things really needing a dedicated type "like" patternInfo
(but with a more intentional name).
Test plan
Semantics-preserving.