Proxy Component 25.4
Proxy Component Help

# BIASDATE

The `BIASDATE` field operator works in a similar way to the `BIAS` field operator. It allows you to bias the score of results at query time according to the proximity of the specified field to a particular date.

Specify `BIASDATE` in the format:

    BIASDATE{optimumDate,range,percentage}:yourFields

where:

`optimumDate` | is the date that the field must contain to increase or decrease the result weight by the maximum `percentage`. See Date Formats for a list of the available date formats.
`range` | is a positive value that determines the range in seconds of the specified optimum. If the specified field contains a value that is in the range (`optimum` – `range`) to (`optimum` + `range`), the result weight is increased or decreased according to the specified `percentage`.
`percentage` | is a percentage in the range –100 to 100. If the value of the specified field is within the specified range, the score of the result increases or decreases according to how close the value is to the specified optimum. When you set `Absweight` to `True`, this is the absolute value by which to boost the weight, and it is then not limited by +/– 100.
`yourFields` | are one or more fields. A document has its score boosted if it contains one of these fields, and if this field contains a date that falls within the specified range of the optimum date. Separate multiple fields with colons (`:`). There must be no space before or after a colon.

For example:

-     FieldText=BIASDATE{1/12/2008,864000,10}:DATE

  A document whose `DATE` field value is within a range of 10 days (864000 seconds) either side of 1/12/2008 has its weight increased on a linear scale from 10 percent if the date is 1/12/2008, to 0 percent if the date is 20/11/2008 or 11/12/2008.

-     FieldText=BIASDATE{1/12/2008,86400,-10}:DATE

  A document whose `DATE` field value is within a range of 10 days (864000 seconds) either side of 1/12/2008 has its weight decreased on a linear scale from –10 percent if the date is 1/12/2008, to 0 percent if the date is 20/11/2008 or 11/12/2008.

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

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 Proxy Component 25.4

Topic Title: BIASDATE