SEARCH_QUERY_SYNTAX enumeration

Specifies the type of query syntax.

Syntax


typedef enum tagSEARCH_QUERY_SYNTAX { 
  SEARCH_NO_QUERY_SYNTAX        = 0x0000,
  SEARCH_ADVANCED_QUERY_SYNTAX  = 0x0001,
  SEARCH_NATURAL_QUERY_SYNTAX   = 0x0002
} SEARCH_QUERY_SYNTAX;

Constants

SEARCH_NO_QUERY_SYNTAX

No syntax.

SEARCH_ADVANCED_QUERY_SYNTAX

Specifies the Advanced Query Syntax. For example, "kind:email to:david to:bill".

SEARCH_NATURAL_QUERY_SYNTAX

Specifies the Natural Query Syntax. This syntax removes the requirement for a colon between properties and values, for example, "email from david to bill".

Remarks

This enumerated type is used by the ISearchQueryHelper::get_QuerySyntax and ISearchQueryHelper::put_QuerySyntax methods.

Note   In Windows 7, the names are prefixed with SQS_ instead of SEARCH_.
 

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Searchapi.h

IDL

Searchquery.idl

 

 

Community Additions

ADD
Show: