Skip to content

Remove project_id from join query in project search for blob

Siddharth Dungarwal requested to merge 344592-remove-project-id into master

What does this MR do and why?

The has_parent stanza should not be there in the project and group search queries for blobs.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Make sure you have advanced search enabled. Go to the admin settings. And check the boxes Elasticsearch indexing and Search with Elasticsearch enabled
  2. Run a group/project search query and global search query
  3. Compare the query diffs and observe that the has_parent stanza should not be there for the group/project search

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #344592 (closed)

Edited by Siddharth Dungarwal

Merge request reports

Loading