Allow Zoekt in Search API for blobs scope when Elasticsearch disabled

What does this MR do and why?

  • Before, we were checking for use_elasticsearch? only. Zoekt was not getting considered, and it was returned as bad_request. Updated the logic to use search_type that considers zoekt also.

  • Some Rubocop fixes

References

#572479 (closed)

Screenshots or screen recordings

Before After
Screenshot_2025-09-26_at_18.49.41 Screenshot_2025-09-26_at_18.51.43

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ravi Kumar

Merge request reports

Loading