Cut off the result set at a specific absolute value.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub useAbsoluteCutoff( _ ByVal val As Double _ ) _ Implements INetricsSearchOpts.useAbsoluteCutoff |
C# |
---|
public void useAbsoluteCutoff( double val ) |
C++ |
---|
public: void useAbsoluteCutoff( double val ) sealed |
J# |
---|
public void useAbsoluteCutoff( double val ) |
JScript |
---|
public
function useAbsoluteCutoff( val : double ) |
Parameters
- val
- The percentage at which to cut off.
Implements
INetricsSearchOpts.useAbsoluteCutoff
Remarks
Although picking a hard cutoff is not the recommended usage of the Netrics Matching Engine (as the correct result will sometimes have the best scoring yet low score), sometimes the business requirements state that a "no results found" scenario is expected. In this case, using an absolute cutoff can be used to implement this. If one wants to use one of the dynamic cutoffs below, as well as an absolute cutoff, it is best to just postprocess the results to enforce the absolute cutoff.