What does HRESULT 0x000416A0 (SEARCH_S_NOMOREHITS) mean?

 
Previous Next
FDAEMON_W_EMPTYWORDLIST FILTER_W_MONIKER_CLIPPED

SEARCH_S_NOMOREHITS

Search enumeration reached the end of hits

SEARCH_S_NOMOREHITS is HRESULT 267936 (0x000416A0) from Indexing Service. The documented description is “End of hits has been reached.” The severity bit indicates a nonfailure result, but the value carries a specific condition that must not be collapsed into plain S_OK.

In the legacy Indexing Service or IFilter pipeline, this result means that end of hits has been reached. Before reporting completion, the caller must reconcile the code-specific state transition and every usable output.

Where the status is encountered

  • Legacy Indexing Service catalog processing; log the exact method and object state instead of interpreting the constant outside that contract.
  • IFilter text and property extraction; log the exact method and object state instead of interpreting the constant outside that contract.
  • Search enumeration, scan scheduling, or catalog administration; log the exact method and object state instead of interpreting the constant outside that contract.

Evidence to preserve

  • Preserve query text and scope.
  • Preserve catalog generation.
  • Preserve page size and cumulative hit count.
  • Preserve last work ID or bookmark.
  • Preserve enumerator lifetime.

What must be true before accepting it

Verify that the consumer has processed every returned hit and stops without treating normal exhaustion as an error. Without that proof, it can mask a caller error even though HRESULT failure severity is not set.

Reconcile side effects associated with it before compensation or a second invocation is attempted.

Correct handling and recovery

Finish the enumeration, release query handles, and retain the final count. Retry only after the catalog or query changes, not to obtain more rows from the same exhausted cursor.

Difference from nearby results

Correctly separating it from neighboring values selects the proper continuation and cleanup path.

Practical scenario

A search client reads pages of results until this status arrives. It shows the exact total and closes the command instead of displaying a failure banner.

References


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