Changes

Jump to navigation Jump to search
29 bytes added ,  05:47, 7 February 2012
no edit summary
This module extends the [http://www.w3.org/TR/xpath-full-text-10 W3C Full Text Recommendation] with some useful [[Querying#Functions|XQuery functions]]: The index can be directly accessed, full-text results can be marked with additional elements, or the relevant parts can be extracted. Moreover, the score value, which is generated by the <code>contains text</code> expression, can be explicitly requested from items. All functions are introduced with the <code>ft:</code> prefix, which is linked to the statically declared <code>http://basex.org/modules/ft</code> namespace.
 
=Functions=
==ft:search==
==ft:tokens==
{{Mark|Introduced with Version 7.1}}
{|
|-
==ft:tokenize==
{{Mark|Introduced with Version 7.1}}
{|
|-
* <code>declare ft-option using stemming; ft:tokenize("GIFTS")</code> returns a single string {{Mono|gift}}.
|}
 
=Recent Changes=
 
==Version 7.1==
 
* Added: {{Mono|ft:tokens()}}, {{Mono|ft:tokenize()}}
[[Category:XQuery]]
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu