NOTE: This method is now obsolete.


It is recomended that you call this function if the same field is used in two or more querylets.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Sub makeDependentQuerylets( _ 
   ByVal multiqueryletIds As Integer() _ 
) _
    Implements INetricsSearchCfg.makeDependentQuerylets
C#
public void makeDependentQuerylets(
   int[] multiqueryletIds
)
C++
public:
 void makeDependentQuerylets(
   array<int>^ multiqueryletIds
) sealed 
J#
public void makeDependentQuerylets(
   int[] multiqueryletIds
)
JScript
public  function makeDependentQuerylets(
   multiqueryletIds : int[]
)

Parameters

multiqueryletIds
Any two querylets that are dependent are part of the same "multiquerylet." The multiqueryletIds parameter should be the same length as the number of querylets added to the NetricsSearchCfg. Each position in the array is the ID of the multiquerylet that querylet belongs to. In this way, if any two positions in the array have the same multiquerylet id, they will be added to the same multiquerylet and will thus be dependent querylets. It is an error to use multiquerylet ids less than 0 or greater than the number of querylets added to the NetricsSearchCfg object. For example, with querylets "First Name", "Last Name", and "Address", the array {0,0,1} would make the first two querylets dependent and the last querylet independent of the other two.

Implements

INetricsSearchCfg.makeDependentQuerylets

Remarks

This function allows the user to specify which querylets are "dependent" on each other (i.e. only one or the other of the querylets can match a given stretch of text in the record). If this function is not used, the querylet dependencies will be automatically detected (by looking for overlapping fieldsets), but it is almost always better to use this function, even if the querylet dependencies are trivial.

See Also