絞込みの属性を構成する場合、対話Webサービス・リクエストを使用して、利用可能な属性のリストを最初に取得すると便利です。
複合タイプPropertyListConfigは、データ・ドメインで使用可能なすべての属性のリストを返します。これには、キー、表示名、その他のオプションなど、属性に関する関連情報を含むProperty要素が含まれます。PDR (および存在する場合はDDR)は、記述子レコードを直接読み込むことが望ましい対話Webサービスのフロントエンド・クライアントに含まれます。
<ns:Request> <ns:ContentElementConfig Id="AttributeList" xsi:type="ns:PropertyListConfig" HandlerNamespace="http://www.endeca.com/MDEX/conversation/2/0" HandlerFunction="PropertyListHandler" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> </ns:ContentElementConfig> </ns:Request>
このようなリクエストは、すべての属性を記述し、属性のすべての特性を含む情報を返します。
<cs:Property Key="ProductCategory" Type="mdex:string" Dimension="true" DisplayName="Product Category" Refinable="true"> <cs:PropertyRecord> <mdex-property_DisplayName type="mdex:string">Product Category</mdex-property_DisplayName> <mdex-property_IsPropertyValueSearchable type="mdex:boolean">false</mdex-property_IsPropertyValueSearchable> <mdex-property_IsSingleAssign type="mdex:boolean">false</mdex-property_IsSingleAssign> <mdex-property_IsTextSearchable type="mdex:boolean">false</mdex-property_IsTextSearchable> <mdex-property_IsUnique type="mdex:boolean">false</mdex-property_IsUnique> <mdex-property_Key type="mdex:string">ProductCategory</mdex-property_Key> <mdex-property_TextSearchAllowsWildcards type="mdex:boolean">false</mdex-property_TextSearchAllowsWildcards> <mdex-property_Type type="mdex:string">mdex:string</mdex-property_Type> <system-navigation_Select type="mdex:string">single</system-navigation_Select> <system-navigation_ShowRecordCounts type="mdex:boolean">true</system-navigation_ShowRecordCounts> <system-navigation_Sorting type="mdex:string">lexical</system-navigation_Sorting> </cs:PropertyRecord> <cs:DimensionRecord> <mdex-dimension_EnableRefinements type="mdex:boolean">true</mdex-dimension_EnableRefinements> <mdex-dimension_IsDimensionSearchHierarchical type="mdex:boolean">false</mdex-dimension_IsDimensionSearchHierarchical> <mdex-dimension_IsRecordSearchHierarchical type="mdex:boolean">false</mdex-dimension_IsRecordSearchHierarchical> <mdex-dimension_Key type="mdex:string">ProductCategory</mdex-dimension_Key> </cs:DimensionRecord> </cs:Property>