CQRange (open)
Returns a query record that will match results in which a field values lies between the specified range
Syntax
LOADLIB "mod::consilio/lib/api.whlib";
RECORD FUNCTION CQRange(STRING field, VARIANT lowerterm, BOOLEAN includelower, VARIANT upperterm, BOOLEAN includeupper, RECORD options)Parameters
STRING fieldField name
VARIANT lowertermLower range value
BOOLEAN includelowerWhether to include exact matches of the lower range value
VARIANT uppertermUpper range value
BOOLEAN includeupperWhether to include exact matches of the upper range value
RECORD optionsOptions
FLOAT boostFactor to increase or decrease the score for this query (defaults to 1f)
Return value
RECORDConsilio query record