Site icon EfmSoft

What does HRESULT 0x00040940 (IDS_MON_WEIGHT_OUT_OF_RANGE) mean?

 
Previous Next
IDS_MON_BUILTIN_PROPERTY IDS_MON_MATCH_STRING

IDS_MON_WEIGHT_OUT_OF_RANGE

IDS_MON_WEIGHT_OUT_OF_RANGE is a ranking-expression validation error. Windows Search supports weighted terms in the ISABOUT form of CONTAINS, but the weight is a normalized relevance input rather than an arbitrary score or percentage.

Validate weights before serializing the full-text condition

The documented CONTAINS examples use fractional weights inside ISABOUT. Weight changes influence relevance calculation; they do not filter documents by themselves. When this error appears, inspect the query generator’s scale and formatting logic. Changing the indexed content or waiting for a crawl cannot make an invalid weight expression parse.

CONTAINS and ISABOUT · Parser messages · WHERE and ranking


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

Exit mobile version