Skip to content

[SEARCH] Refactor fetchSoon and callClient to isolate msearch #61739

@lizozom

Description

@lizozom

Part of #61738

This is the current search logic flow chart:

image

To simplify implementation and segregate legacy code, we'd need to refactor the flow to become"

image

The key changes here are

  • Check whether batchSearches is enabled from within SearchSource (this code is to stick around until v8)
  • Delete defaultSearchStrategy altogether
  • Move fetch, callClient and msearch to a LEGACY folder.
  • If batchSearches is disabled, call data's search service directly from SearchSource, otherwise call LEGACY logic

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions