Use the specified thesaurus weight in determining matching records.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Sub setThesaurusWeight( _ ByVal weight As Double _ ) |
| C# |
|---|
| public void setThesaurusWeight( double weight ) |
| C++ |
|---|
| public: void setThesaurusWeight( double weight ) sealed |
| J# |
|---|
| public void setThesaurusWeight( double weight ) |
| JScript |
|---|
| public
function setThesaurusWeight( weight : double ) |
Parameters
- weight
- Specifies a thesaurus weight to use for the query (from 0.0 to 1.0). A weight of 1.0 means that the score associated with a matching thesaurus word will be exactly equivalent to the score which matches the query as entered. If a weight less than 1.0 is given, then the score of records matched based on thesaurus substitutions will be decreased.