Skip to content

search: directly compute and access file match limit in job creation

Administrator requested to merge rvt/direct-filematch into main

Created by: rvantonder

Stacked on https://github.com/sourcegraph/sourcegraph/pull/32926/files.

Directly computes fileMatchLimit. Note this is duplicating some logic in query_converter.go and putting it in job creation where it's better suited. When I'm done with the pass I can remove the redundancy in query_converter.go.

Test plan

Semantics-preserving.

Merge request reports

Loading