4.13.1 Request

The following example shows a Search command request (section 2.2.1.16) sent from the client to the server. The search:Name element (section 2.2.3.120.2) identifies the GAL as the store to search, and the search:Query element (section 2.2.3.142.2) identifies the search string as "Anat". Within the search:Options element (section 2.2.3.125.5), the search:Range element (section 2.2.3.143.3) indicates that a maximum of two results can be returned in the response, the search:RebuildResults element (section 2.2.3.144) indicates that the server will rebuild the search folder, and the search:DeepTraversal element (section 2.2.3.41.2) indicates that all subfolders are searched.

 <?xml version="1.0" encoding="utf-8"?>
 <Search xmlns="Search">
   <Store>
     <Name>GAL</Name>
     <Query>Anat</Query>
     <Options>
         <Range>0-1</Range>
         <RebuildResults/>
         <DeepTraversal/>
     </Options>
   </Store>
 </Search>