What does HRESULT 0x80041782 (WBREAK_E_QUERY_ONLY) mean?

 
Previous Next
WBREAK_E_END_OF_TEXT WBREAK_E_BUFFER_TOO_SMALL

WBREAK_E_QUERY_ONLY

The requested word-breaker feature is restricted to query mode

WBREAK_E_QUERY_ONLY is HRESULT 0x80041782. Windows documents it as “Feature only available in query mode.”

Interpretation in context

This result belongs to invoking a query-expansion operation while the breaker is configured for index-time processing. The API feature depends on query semantics that are not available in indexing mode.

Word breakers process TEXT_SOURCE buffers and report words or phrases through sinks. During diagnosis, locale, mode, refill behavior and component registration must be captured together.

Conditions to test

  • Query-only phrase expansion is called during indexing.
  • Mode flags are copied from the wrong pipeline.
  • One breaker instance is shared between index and query tasks.

Incident record

  • Check requested breaker method or option.
  • Check mode used at initialization.
  • Check caller pipeline role.
  • Check instance ownership and thread.

Step-by-step diagnosis

  1. Identify the exact feature that requires query mode.
  2. Trace initialization flags for the same breaker instance.
  3. Separate index-time token emission from query-time expansion.
  4. Create independent instances for concurrent modes.

Retry decision

Move the operation to query processing or initialize the appropriate query-mode object. Repeating it in index mode cannot succeed.

What the value cannot establish

It does not mean the input text or language is invalid.

Adjacent contract states

PSINK_E_QUERY_ONLY is reported by phrase-sink behavior; this HRESULT belongs to the word-breaker feature itself.

Concrete scenario

An indexing path accidentally enables a query-time alternative-word option. Mode-specific construction removes the invalid call.

Official Microsoft references


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