APIでの検索モードの構成

対話Webサービスでは、SearchMode単純型は、テキスト検索の実行時に使用可能な検索モードを列挙します。

リクエストのSearchFilter要素およびValueSearchConfig要素で、Mode属性の値として、検索モードの特定のタイプを指定できます。

次の例では、SearchFilterAllPartial検索モードが使用されます。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
   xmlns:ns="http://www.endeca.com/MDEX/conversation/2/0" 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:typ="http://www.endeca.com/MDEX/lql_parser/types">
  <soapenv:Header/>
  <soapenv:Body>
    <ns:Request>
      <ns:State/>
      <ns:Operator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:ns="http://www.endeca.com/MDEX/conversation/2/0" 
        xsi:type="ns:SearchOperator">
        <ns:SearchFilter Mode="AllPartial" Key="MySearchInterface">mountain</ns:SearchFilter>
      </ns:Operator>
      <ns:ContentElementConfig xsi:type="ns:RecordListConfig"
          Id="RecordList"
          HandlerFunction="RecordListHandler"
          HandlerNamespace="http://www.endeca.com/MDEX/conversation/2/0" 
          MaxPages="2">
          <ns:Column>ProductCategory</ns:Column>
          <ns:RecordsPerPage>50</ns:RecordsPerPage>
          <ns:Page>15</ns:Page>
          <ns:Sort Key="ProductCategory" Direction="Ascending"/>
          </ns:ContentElementConfig>
    </ns:Request>
  </soapenv:Body>
</soapenv:Envelope>