Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the type of query syntax.
Syntax
typedef enum _SEARCH_QUERY_SYNTAX {
SEARCH_NO_QUERY_SYNTAX = 0,
SEARCH_ADVANCED_QUERY_SYNTAX,
SEARCH_NATURAL_QUERY_SYNTAX
} SEARCH_QUERY_SYNTAX;
Constants
SEARCH_NO_QUERY_SYNTAX Value: 0 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
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2, Windows Vista, Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | searchapi.h |
Redistributable | Windows Desktop Search (WDS) 3.0 |