search: remove index search request type and methods
Created by: rvantonder
Stacked on https://github.com/sourcegraph/sourcegraph/pull/31899.
breakdown:
-
don't call out to
NewIndexedSearchRequest
inRepoHasFile
logic. To do this, what's essentially happening is an inline job construction for a TextSearch job. we don't want to construct aTextSearch
job though because that's impermanent and alsorepoHasFile
is going to get nuked any day now. End goal is to only have Zoekt and Searcher jobs. -
the above removes a dependency on a ton of code we can get rid of now
-
update tests
Test plan
Semantics-preserving