search: remove result.Types type from text parameter bundle
Created by: rvantonder
Still on the road to (cleanly) introduce optimized search queries.
This PR: Since search logic is concentrated in job.go
, we can start reducing the state bundled in TextParameters
. This removes the need to track result.Types
in it.
Test plan
Semantics-preserving.