Skip to content

Implement WorkItemQueryBuilder and start using it for issues

Siddharth Dungarwal requested to merge 478007-work-item-query-builder into master

What does this MR do and why?

I have added the WorkItemQueryBuilder class and kept it behind search_issues_uses_work_items_index to power issues search using work_items index.

I plan to add changes related to aggregations in a follow-up MR and enable the ff once both the MRs are merged.

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.

Screenshots or screen recordings

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

Before After

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.
  2. Bypass the ff flag and migration changes by hardcoding work_item_index_available_for_searching? method to return true
  3. Then do a issues search and notice in the query from performance bar you have the search going to work_items index instead of the issues index in elasticsearch.

Related to #478007 (closed)

Edited by Siddharth Dungarwal

Merge request reports

Loading