The result list settings enable you to select the attributes included in the search results and customize the look-and-feel of the Oracle SES Search Application.
Universal
Property | Value |
---|---|
status |
ACTIVE INACTIVE |
activate deactivate export getState update
Global Settings - Configure Search Result List
The <search:resultList>
element describes the search results lists:
<search:resultList> <search:renderingAttrs> <search:renderingAttr> <search:name> <search:xsltContent> <search:cssContent>
Element Descriptions
Contains these elements:
<search:renderingAttrs> <search:xsltContent> <search:cssContent>
Identifies attributes that appear in the search results, including local search attributes, federated search attributes, and Oracle SES internal attributes. It contains one or more <search:renderingAttr>
elements.
Identifies an attribute. It contains a <search:name>
element.
Contains the name of an attribute. Required.
Contains the content of an XSLT style sheet in XML-escaped format or wrapped in a CDATA element. The XSLT operates on the attributes by transforming the XML content into an HTML fragment for display in the result list. To return HTML, include this in the XSLT:
<xsl:output method="html" />
If the XSLT is blank, then the search results are displayed as untransformed XML.
Content of a cascading style sheet (CSS) wrapped in a CDATA element. These styles format the HTML returned by the XSLT style sheet.
This CSS is used with other style sheets installed with the Oracle SES and has the highest priority.
This XML document contains the result list properties and style sheets:
<?xml version="1.0" encoding="UTF-8"?> <search:config productVersion=".*" xmlns:search="http://xmlns.oracle.com/search"> <search:resultList> <search:renderingAttrs> <search:renderingAttr> <search:name>Subject</search:name> </search:renderingAttr> <search:renderingAttr> <search:name>eqdatasourcename</search:name> </search:renderingAttr> <search:renderingAttr> <search:name>eqdatasourcetype</search:name> </search:renderingAttr> </search:renderingAttrs> <search:xsltContent> <![CDATA[<?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- XSLT content appears here--> </xsl:stylesheet>]]> </search:xsltContent> <search:cssContent> <![CDATA[.title { font-size: 12pt; }]]> </search:cssContent> </search:resultList> </search:config>