Skip to content

Search API: expose chunk matches over the streaming API

Administrator requested to merge cc/chunk-match-stream into main

Created by: camdencheek

This exposes chunk matches on the streaming API the URL query param cm=t.

It is currently unused, but I added a test to ensure chunk matches actually come through. Will experiment a bit to see how much work it will be to update the client side of things.

Note that Zoekt still doesn't send chunk matches, and I probably won't flip the switch here until it does.

Test plan

Added a unit test. Will be exercised more when the web client is updated to use it.

Merge request reports

Loading