Changes

Jump to navigation Jump to search
290 bytes removed ,  20:35, 22 April 2011
no edit summary
|-
| valign='top' | '''Summary'''
|Performs a full-text index request.|-| valign='top' | '''Rules'''|This function performs an explicit a full-text index request on the specified database node and returns all text nodes that contain the string <code>$text</code>. The index full-text options are used for searching, i.e., if the index terms were stemmed, the search string will be stemmed as well.<br />
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Summary'''
|Marks results from a full-text index request.
|-
| valign='top' | '''Rules'''
|This function puts a marker element around the resulting <code>$nodes</code> of a full-text index request.<br />The default tag name of the marker element is <code>mark</code>. An alternative tag name can be chosen via the optional <code>$tag</code> argument.<br />Note that the XML node to be transformed must be an internal "database" node. The <code>transform</code> expression can be used to apply the method to a main-memory fragment (see example).<br />
|-
|-
| valign='top' | '''Summary'''
|Extracts relevant parts of full-text results.
|-
| valign='top' | '''Rules'''
|This function extracts and returns relevant parts of full-text results. It puts a marker element around the resulting <code>$nodes</code> of a full-text index request and chops irrelevant sections of the result.<br />The default tag name of the marker element is <code>mark</code>. An alternative tag name can be chosen via the optional <code>$tag</code> argument.<br />The default length of the returned text is <code>150</code> characters. An alternative length can be specified via the optional <code>$length</code> argument. Note that the effective text length may differ from the specified text due to formatting and readibility issues.<br />
|-
|-
| valign='top' | '''Summary'''
|Returns the score of items.|-| valign='top' | '''Rules'''|This function returns the score values (0.0 - 1.0) that have been attached to the specified items. <code>0</code> is returned a value if no score was attached.<br />
|-
| valign='top' | '''Examples'''
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu