Skip to content

Snippet blob search removal

Vijay Hawoldar requested to merge vij-snippet-blob-search-removal into master

What does this MR do?

Removes remaining Snippet blob (file_name and content) searching references from the codebase and refactors the Snippet searching accordingly.

In particular, this involves changing multi-scope support to only scoping Snippet searches by snippet_titles (which also includes descriptions, issue to rename the scope is here)

As well as removing these references, this MR also removes the search_code method and elasticsearch equivalent.

It's worth noting that references in views are handled by this MR, and API references in this MR.

Relates to #208882 (closed)

I believe this falls under the category of developer-facing changes, so I haven't added a changelog entry, but happy to do so if that's incorrect!

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading