Create a Confidence Querylet with values explicitly set.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New( _ ByVal qlet As NetricsQuery, _ ByVal match_score_cutoff As Double, _ ByVal confidence_cutoff As Double, _ ByVal preindex_it As Boolean _ ) |
C# |
---|
public ConfidenceQlt( NetricsQuery qlet, double match_score_cutoff, double confidence_cutoff, bool preindex_it ) |
C++ |
---|
public: ConfidenceQlt( NetricsQuery qlet, double match_score_cutoff, double confidence_cutoff, bool preindex_it ) sealed |
J# |
---|
public ConfidenceQlt( NetricsQuery qlet, double match_score_cutoff, double confidence_cutoff, bool preindex_it ) |
JScript |
---|
public function ConfidenceQlt( qlet : NetricsQuery, match_score_cutoff : double, confidence_cutoff : double, preindex_it : bool ) |
Parameters
- qlet
- the querylet.
- match_score_cutoff
- the match score cutoff value. This is the score that forms the boundary between what is considered a match and what isn't a match. If the value is given as -1.0 the absolute cutoff value for the search is used. If the search has no absolute cutoff set, either in the search opts, or via a Learn Model threshold, then the -1.0 cutoff value is treated as an error by the Patterns server.
- confidence_cutoff
- use the querylet only if its confidence meets or exceeds this value. A value of -1.0 implies the default confidence cutoff should be used.
- preindex_it
- if this is true this querylet is passed to the prefilter index, if false this querylet is ignored by the prefilter.
Remarks
throws ArgumentException if a value is out of range or null.