Content Component 26.1
Content Component Help

# BIASNRANGE

The `BIASNRANGE` field specifier (case sensitive) allows you to bias the score of results at query time according to the numerical proximity of the value in the specified field to a specified continuous range of values.

NOTE: You can optimize the speed of this field specifier by restricting the field to the NumericType property type.

## Format

    FieldText=BIASNRANGE{lowerOptimum,upperOptimum,lowerRange,upperRange,percentage}:yourField

`lowerOptimum` | The lowest value that `yourField` can contain to change the weight by the maximum `percentage`. You can specify an open-ended range, by setting this value to a period (`.`).
`upperOptimum` | The highest value that `yourField` can contain to change the weight by the maximum `percentage`. You can specify an open-ended range, by setting this value to a period (`.`).
`lowerRange` | A positive number that determines the range of values below `lowerOptimum` that get a non-optimal weight change. When `yourField` contains a value that is between (`lowerOptimum`-`lowerRange`) and `lowerOptimum`, Content increases or decreases the weight according to the specified `percentage`, using a linear scale.
`upperRange` | A positive number that determines the range of values above `upperOptimum` that get a non-optimal weight change. When `yourField` contains a value that is between `upperOptimum` and (`upperOptimum`+`upperRange`), Content increases or decreases the weight according to the specified `percentage`, using a linear scale. NOTE: To use the same value for `lowerRange` and `upperRange`, you can omit this argument.
`percentage` | A percentage in the range -100 to 100. The percentage change to apply to values that occur in the optimum range. (The boosted relevance score cannot be greater than 100% or less than -100%.) For values outside the optimum range, but inside the range set by `lowerRange` and `upperRange`, Content adjusts the percentage on a linear scale. When you set AbsWeight to `True`, this value is the absolute value by which to boost the weight and it is then not limited by +/- 100.
`yourField` | The name of the field that must be present, and must contain a value in the specified value range, for the document relevance to be modified.

NOTE: For compatibility with NRANGE, the range values can include the greater than (>) and less than (<) symbols, but these have no effect.

## Examples

    FieldText=BIASNRANGE{100,150,20,40,10}:*/PRICE

A document whose `PRICE` field value is between 100 and 150 has its weight increased by 10%. This boost decreases linearly to 0% at 80 and lower, and 190 and higher.

    FieldText=BIASNRANGE{100,150,30,-20}:*/PRICE

A document whose `PRICE` field value is between 100 and 150 has its weight decreased by 20%. This penalty decreases linearly to 0% at 70 and lower, and 180 and higher.

    FieldText=BIASNRANGE{-10,10,5,30}:*/PRICE

A document whose `PRICE` field value is between -10 and 10 has its weight increased by 30%. This boost decreases linearly to 0% at -15 and lower, and 15 and higher.

    FieldText=BIASNRANGE{.,150,30,-20}:*/PRICE

A document whose `PRICE` field value is lower than 150 has its weight decreased by 20%. This penalty decreases linearly to 0% at 180 and higher.

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 26.1

Topic Title: BIASNRANGE