What does HRESULT 0x80041615 (QUERY_E_INVALIDSCOPE_COALESCE) mean?

 
Previous Next
QUERY_E_INCORRECT_VERSION QUERY_E_INVALIDSORT_COALESCE

QUERY_E_INVALIDSCOPE_COALESCE

QUERY_E_INVALIDSCOPE_COALESCE is a structural query-composition error. Each component of the coalesced query must operate over the same scope; mixing components that search different roots or catalogs makes the combined relevance result unsupported.

Normalize scope before combining query components

  • Log the effective scope restriction for every component after helper APIs expand it into SQL.
  • Compare machine/catalog selection and folder-depth predicates as well as user-visible path text.
  • If separate scopes are intentional, execute separate queries and merge results in application logic rather than forcing an unsupported coalesce form.

Windows Search separates the FROM catalog target from WHERE folder-depth restrictions that can narrow scope. Two queries that look similar in UI can therefore have different effective scopes. The error should be fixed in the query-composition layer. Changing sort order or relevance weights does not make mismatched scopes compatible.

Legacy query errors · Windows Search SQL overview · WHERE and scope predicates


Looking for a different code? Search another status or error code.