2.2.5.1 SuggestionKindType Simple Type

The SuggestionKindType simple type specifies the type(s) of query suggestions that can be requested.

   <xs:simpleType name="SuggestionKindType">
     <xs:list>
       <xs:simpleType>
         <xs:restriction base="xs:string">
           <xs:enumeration value="None"/>
           <xs:enumeration value="Keywords"/>
           <xs:enumeration value="People"/>
           <xs:enumeration value="Hashtags"/>
           <xs:enumeration value="QueryHistory"/>
           <xs:enumeration value="OneDriveQueryHistory"/>
           <xs:enumeration value="All"/>
         </xs:restriction>
       </xs:simpleType>
     </xs:list>
   </xs:simpleType>

The SuggestionKindType simple type is used by the GetSearchSuggestions complex type (section 3.1.4.3.3.1). the SuggestionType complex type (section 3.1.4.3.3.5), and the StartSearchSession complex type (section 3.1.4.4.3.1).

Value

Meaning

None

Nothing requested.

Keywords

A keyword suggestion. This specifies query text that doesn't identify a person.

People

A people suggestion. This type attempts to match characters with a name.

Hashtags

A hashtag suggestion.

QueryHistory

The search history.

OneDriveQueryHistory

Not used.

All

Specifies all suggested values.