Assign an ephemeral thesaurus to be used by this NetricsQuery.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Sub useEphemeralThesaurus( _ ByVal thes_def As NetricsBaseThesaurus, _ ByVal theswgt As Double _ ) |
| C# |
|---|
| public void useEphemeralThesaurus( NetricsBaseThesaurus thes_def, double theswgt ) |
| C++ |
|---|
| public: void useEphemeralThesaurus( NetricsBaseThesaurus thes_def, double theswgt ) sealed |
| J# |
|---|
| public void useEphemeralThesaurus( NetricsBaseThesaurus thes_def, double theswgt ) |
| JScript |
|---|
| public
function useEphemeralThesaurus( thes_def : NetricsBaseThesaurus, theswgt : double ) |
Parameters
- thes_def
- A Thesarus object (any extension of NetricsBaseThesaurus).
- theswgt
- the weight to give thesaurus matches.
Remarks
An ephmeral thesaurus is one that exists only for the duration of a single query and is accessible ony by that query. The thesaurus name, although required for consistency, is not used. Thus ephemeral thesauri may have the same name as a permanent thesaurus or another ephemeral thesaurus without causing interference.
Ephemeral thesauri are inteded for those cases where possible sutstitutions or weighted terms for a query are generated dynamically based on the query and is not a fixed set of substitutions or weightings that can be encoded into a static thesaurus.