Skip to content

Search backend: optimize repo:contains(file:foo)

Administrator requested to merge cc/repo-contains-optimization into main

Created by: camdencheek

This optimizes repo:contains() predicates that only contain file patterns. Our current contains machinery cannot handle content yet.

Test plan

Added a test to ensure repo:contains(file:xyz) is replaced, but repo:contains(content:xyz) is not

Merge request reports

Loading