Release 1.3 - ...
<fields> element
Element which defines the select fields which should be used within the masterquery.
The value of this node is used when the local instance viper {this.selectfields()} is resolved (and the mode is set to SearchQuery).
Example
XML |
Copy Code
|
<fields rem="value for this.selectfields(), used to display the query results"><![CDATA[
ROW_NUMBER() OVER (ORDER BY {this.orderby(default="searchrank DESC")}, c.Nr) AS rownum,
c.Nr AS Nr, CAST(vt2.searchrank AS INT) AS searchrank, c.contenttype, c.author,
c.ModDate AS ModDate, c.Title AS Title,
SUBSTRING(sgv.QueryData,0,16000) AS Abstract, ft.FileExtension,
{this.resultchannelcode(default="NULL")} AS ChannelCode
]]>
</fields>
|
Attributes
None.
Parent element
Element name |
Description |
<masterquery> |
Element containing the masterquery configuration. |
Child elements
None.