Changes

Jump to navigation Jump to search
19 bytes added ,  13:16, 21 November 2017
no edit summary
 
This [[Module Library|XQuery Module]] extends the [http://www.w3.org/TR/xpath-full-text-10 W3C Full Text Recommendation] with some useful functions: The index can be directly accessed, fulltext 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}} expression, can be explicitly requested from items.
=Conventions=
{{Mark|Updated with Version 9.0}}: All functions and errors in this module are assigned to the <code><nowiki>http://basex.org/modules/ft</nowiki></code> namespace, which is statically bound to the {{Code|ft}} prefix.<br/>All errors are assigned to the <code><nowiki>http://basex.org/errors</nowiki></code> namespace, which is statically bound to the {{Code|bxerr}} prefix.
=Functions=
|-
| '''Errors'''
|{{Error|BXDB0002db:open|XQuery Errors#BaseX Errors}} The addressed database does not exist or could not be opened.<br/>{{Error|BXDB0004db:no-index|Database Module#Errors}} the index is not available.<br/>{{Error|BXFT0001conflict|#Errors}} the fuzzy and wildcard option cannot be both specified.
|-
| '''Examples'''
|-
| '''Errors'''
|{{Error|BXFT0001conflict|#Errors}} the fuzzy and wildcard option cannot be both specified.
|-
| '''Examples'''
|-
| '''Errors'''
|{{Error|BXDB0002db:open|XQuery Errors#BaseX Errors}} The addressed database does not exist or could not be opened.<br/>{{Error|BXDB0004db:no-index|Database Module#Errors}} the full-text index is not available.
|-
| '''Examples'''
=Errors=
 
{{Mark|Updated with Version 9.0}}:
{| class="wikitable" width="100%"
=Changelog=
 
;Version 9.0
 
* Updated: error codes updates; errors now use the module namespace
;Version 8.0
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu