Skip to content

Small cleanup for advanced query params

What does this MR do and why?

We have added two recent new params for the search endpoint: num_context_lines and hybrid_similarity. These are both only available when Advanced Search is used but were added in lib/api/search.rb. This MR moves these params over to ee/lib/ee/api/search.rb. The params have not been added to the documentation.

MR acceptance checklist

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

Merge request reports