Changes

Jump to navigation Jump to search
8 bytes added ,  22:02, 9 June 2014
|
* {{Code|ft:search("DB", "QUERY")}}: Return all text nodes of the database {{Code|DB}} that contain the term {{Code|QUERY}}.
* Return all text nodes of the database {{Code|DB}} that contain the numbers {{Code|2010}} and {{Code|2011}}:<br/><code>ft:search("DB", ("2010","2011"), map { 'mode': 'all' })</code>
* Return text nodes that contain the terms {{Code|A}} and {{Code|B|}} in a distance of at most 5 words:
<pre class="brush:xquery">
ft:search("db", ("A", "B"), map {
"mode": "all words",
"distance": {
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu