XSLT Extension - Search

The Searchlibrary XSLT extension can be used to perform both advanced and quick searches against an Examine/Lucene index.

Enabling the XSLT extension for use in your XSLT templates.

Add the following XML snippet to your ~/config/xsltExtensions.config file:

<XsltExtensions>
	...
	<ext assembly="uComponents.Core" type="uComponents.Core.XsltExtensions.Search" alias="ucomponents.search" />
	...
</XsltExtensions>

Methods

Here are available methods:

Method Returns Notes
AdvancedSearch(String) Returns an XML structure of the advanced search results. Performs an advanced search against an Examine/Lucene index.
AdvancedSearch(String, Boolean) Returns an XML structure of the advanced search results. Performs an advanced search against an Examine/Lucene index.
AdvancedSearch(String, Boolean, String) Returns an XML structure of the advanced search results. Advanceds the
AdvancedSearch(String, Boolean, String, String) Returns an XML structure of the advanced search results. Performs an advanced search against an Examine/Lucene index.
GetNodeIds(String) Returns a CSV of node Ids from a basic/quick search Gets the node ids.
GetNodeIds(String, Boolean) Returns a CSV of node Ids from a basic/quick search Gets the node ids.
GetNodeIds(String, Boolean, String) Returns a CSV of node Ids from a basic/quick search Gets the node ids.
QuickSearch(String) Returns an XML structure of the basic/quick search results. Performs a basic/quick search against an Examine/Lucene index.
QuickSearch(String, Boolean) Returns an XML structure of the basic/quick search results. Performs a basic/quick search against an Examine/Lucene index.
QuickSearch(String, Boolean, String) Returns an XML structure of the basic/quick search results. Performs a basic/quick search against an Examine/Lucene index.

Last edited Mar 22, 2011 at 8:13 PM by leekelleher, version 2