SearchResponse Control

SearchResponseControl は Control から拡張されるもので、さらに検索結果が見つかったことを示します。

SearchResponseControl が search API 呼び出しから戻されるのは、SearchControl DataObject で指定した countLimit プロパティーが 0 より大きい値に設定されている場合に限られます。

SearchResponseControl DataObject の構造は、以下のものから構成されます。
hasMoreResults
まだ検索結果が存在していることを指定します。 デフォルト設定は false ですが、検索結果の実際の件数が SearchControl の countLimit パラメーターに指定された値より大きい場合は、true に設定されます。

XML スキーマ定義

次に、SearchResponseControl DataObject の XML スキーマ定義を示します。
<<xsd:complexType name="SearchResponseControl">
    <xsd:complexContent>
	 <xsd:extension base="Control">
	     <xsd:attribute name="hasMoreResults" type="xsd:boolean"/>
	 </xsd:extension>
    </xsd:complexContent>
	</xsd:complexType>

サンプル・データ・オブジェクト

次に、search API 呼び出しから戻される SearchResponseControl DataObject のサンプルを示します。
<wim:controls xsi:type="wim:SearchResponseControl" hasMoreResults="true"/>


利用条件 | フィードバック