Gets the grade for this entry, describing how well it matched the query.

Namespace: ININ.IceLib.EFaq
Assembly: ININ.IceLib.Interactions (in ININ.IceLib.Interactions.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public double Grade { get; internal set; }
Visual Basic
Public Property Grade As Double
	Get
	Friend Set

Field Value

The grade.

Remarks

The grade of a result is used to determine how well a Question / Answer pair matches the query. Setting the minimum grade higher will generally yield fewer results. The valid range is 1.0 to 10.0. Only entries with grades above the MinimumGrade specified in the query will be returned.

When more than one entry is returned, e-FAQ uses the matching grade to rank the results so that they can be presented in the order of the highest score first.

In the case of a tie, the order the entries actually get returned is undefined. Thus, it is theoretically possible that two entries might get exactly the same score and one would get returned and not the other. (For example, if a query had specified that only up to 3 entries be returned and there was a tie for third place, one entry would get left out of the result set, even though its score was the same as the other 3rd place entry.)

The only exception to all of this is entries that are returned because they contained a "guaranteed hit" keyword. All of these are returned, no matter what. (So, even if the query specified only to return up to 5 entries, if 7 entries were guaranteed-hits, then 7 entries will be returned.)

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 SU 2 and beyond.

See Also