2.2.5.2 KeywordInclusion

msdn link

Namespace: http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Query

The KeywordInclusion simple type is used to represent how the protocol server combines tokens in a search query to form the query text that is used to find indexed items that match the search query.

 <xs:simpleType name="KeywordInclusion" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="AllKeywords"/>
     <xs:enumeration value="AnyKeyword"/>
   </xs:restriction>
 </xs:simpleType>

The following table specifies the allowable values for the KeywordInclusion simple type.

Value

Meaning

AllKeywords

The protocol server combines the individual tokens by using the Boolean AND operation. The protocol server MUST find all token in the search query in a crawled item for the crawled item to be part of the search results

AnyKeyword

The protocol server combines the individual tokens by using the Boolean OR operation. The protocol server MUST find at least one token in the search query in a crawled item for the crawled item to be part of the search results.