Skip to content

CDQUERYTEXTTERM

Data Type : Agents
CDQUERYTEXTTERM - Text Search Term query CD record.

#include <queryods.h>

Definition :

typedef struct {
   WSIG  Header;
   DWORD dwFlags;                    /* flags for this string */
   DWORD dwLength[MAXTEXTTERMCOUNT]; /* length of strings */
     /* strings follow */
} CDQUERYTEXTTERM;

Description :

Text search information is stored in the CDQUERYTEXTTERM record in a field of TYPE_QUERY, usually in the query field of an Agent. These text strings are used as input to the full text search facility to select the documents to be operated on by the Agent. This record consists of the structure, followed by up to MAXTEXTTERMCOUNT strings containing the text to search for. The fields in this structure are:


      Header Defines this composite data item as a CDQUERYTEXTTERM item.
      dwFlags Text search flags (see TEXTTERM_FLAG_xxx).
      dwLength Array containing the lengths of the strings; entries may be 0.

    This structure is followed by the text strings in packed format (no NUL terminators).

See Also : MAXTEXTTERMCOUNT TEXTTERM_FLAG_xxx