What does HRESULT 0x80041791 (PSINK_E_INDEX_ONLY) mean?

 
Previous Next
PSINK_E_QUERY_ONLY PSINK_E_LARGE_ATTACHMENT

PSINK_E_INDEX_ONLY

A phrase-sink operation is available only during indexing

PSINK_E_INDEX_ONLY is HRESULT 0x80041791. Windows documents it as “Feature only available in index mode.”

Interpretation in context

This result belongs to sending index-only phrase data while processing a user query. The attachment belongs in catalog construction and is not valid for query-time expansion.

Phrase-sink callbacks differ between query and index processing. During diagnosis, the attachment type and pipeline mode define whether a callback is legal.

Conditions to test

  • Index annotations leak into query processing.
  • One code path reuses index-time attachment types.
  • Sink mode is inferred from stale global state.

Incident record

  • Check attachment type and phrase boundaries.
  • Check query/index pipeline marker.
  • Check caller and breaker version.
  • Check sink instance lifetime.

Step-by-step diagnosis

  1. Classify the requested attachment according to the sink contract.
  2. Verify mode is passed explicitly rather than inferred.
  3. Remove index-only metadata from query expansion.
  4. Test the same phrase in separate index and query harnesses.

Retry decision

Perform the operation during indexing or choose a query-supported attachment. Do not silently reinterpret the attachment type.

What the value cannot establish

It does not mean the query text is malformed or the language database is missing.

Adjacent contract states

PSINK_E_QUERY_ONLY rejects the inverse mode mismatch.

Concrete scenario

A query service reuses an indexing phrase callback that emits positional metadata. Splitting the adapters restores correct mode semantics.

Official Microsoft references


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